##// END OF EJS Templates
tagged version 0.8.5...
tagged version 0.8.5 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/tags/0.8.5@2886 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1989:81eee10d5b00
r2772:0bdef7d79741 0.8.5
Show More
routes.rb
51 lines | 2.7 KiB | text/x-ruby | RubyLexer
Jean-Philippe Lang
Initial commit...
r2 ActionController::Routing::Routes.draw do |map|
# Add your own custom routes here.
# The priority is based upon order of creation: first created -> highest priority.
# Here's a sample route:
# map.connect 'products/:id', :controller => 'catalog', :action => 'view'
# Keep in mind you can assign values other than :controller and :action
Eric Davis
Added a plugin hook :routes that plugins can use to add and even override routes...
r1934 # Allow Redmine plugins to map routes and potentially override them
Eric Davis
Removing the custom Redmine hook in routes in favor of Engine's hook....
r1989 Rails.plugins.each do |plugin|
map.from_plugin plugin.name.to_sym
end
Eric Davis
Added a plugin hook :routes that plugins can use to add and even override routes...
r1934
Jean-Philippe Lang
Added a named route for the home page....
r749 map.home '', :controller => 'welcome'
Jean-Philippe Lang
The following menus can now be extended by plugins: top_menu, account_menu, application_menu (empty by default)....
r1123 map.signin 'login', :controller => 'account', :action => 'login'
map.signout 'logout', :controller => 'account', :action => 'logout'
Jean-Philippe Lang
Native eol property set on config/*...
r761 map.connect 'wiki/:id/:page/:action', :controller => 'wiki', :page => nil
map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
map.connect 'help/:ctrl/:page', :controller => 'help'
#map.connect ':controller/:action/:id/:sort_key/:sort_order'
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:...
r503 map.connect 'issues/:issue_id/relations/:action/:id', :controller => 'issue_relations'
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 map.connect 'projects/:project_id/issues/:action', :controller => 'issues'
Jean-Philippe Lang
Moved ProjectsController#list_news to NewsController#index....
r875 map.connect 'projects/:project_id/news/:action', :controller => 'news'
Jean-Philippe Lang
Moved ProjectsController#list_documents and add_document to DocumentsController#index and new....
r998 map.connect 'projects/:project_id/documents/:action', :controller => 'documents'
Jean-Philippe Lang
Per project forums added....
r526 map.connect 'projects/:project_id/boards/:action/:id', :controller => 'boards'
Jean-Philippe Lang
Adds cross-project time reports support (#994)....
r1777 map.connect 'projects/:project_id/timelog/:action/:id', :controller => 'timelog', :project_id => /.+/
Jean-Philippe Lang
Per project forums added....
r526 map.connect 'boards/:board_id/topics/:action/:id', :controller => 'messages'
Jean-Philippe Lang
Pretty URL for the repository browser (Cyril Mougel)...
r867
map.with_options :controller => 'repositories' do |omap|
omap.repositories_show 'repositories/browse/:id/*path', :action => 'browse'
omap.repositories_changes 'repositories/changes/:id/*path', :action => 'changes'
omap.repositories_diff 'repositories/diff/:id/*path', :action => 'diff'
omap.repositories_entry 'repositories/entry/:id/*path', :action => 'entry'
Jean-Philippe Lang
Added Annotate/Blame view for Subversion, CVS and Mercurial repositories....
r934 omap.repositories_entry 'repositories/annotate/:id/*path', :action => 'annotate'
Jean-Philippe Lang
Prettier url for changesets (#1443)....
r1535 omap.repositories_revision 'repositories/revision/:id/:rev', :action => 'revision'
Jean-Philippe Lang
Pretty URL for the repository browser (Cyril Mougel)...
r867 end
Jean-Philippe Lang
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:...
r503
Jean-Philippe Lang
Appends the filename to the attachment url so that clients that ignore content-disposition http header get the real filename (#1649)....
r1669 map.connect 'attachments/:id', :controller => 'attachments', :action => 'show', :id => /\d+/
map.connect 'attachments/:id/:filename', :controller => 'attachments', :action => 'show', :id => /\d+/, :filename => /.*/
map.connect 'attachments/download/:id/:filename', :controller => 'attachments', :action => 'download', :id => /\d+/, :filename => /.*/
Jean-Philippe Lang
Initial commit...
r2 # Allow downloading Web Service WSDL as a file with an extension
# instead of a file named 'wsdl'
map.connect ':controller/service.wsdl', :action => 'wsdl'
Jean-Philippe Lang
Native eol property set on config/*...
r761
Jean-Philippe Lang
Initial commit...
r2
# Install the default route as the lowest priority.
map.connect ':controller/:action/:id'
end