##// END OF EJS Templates
tagged version 0.6.4...
tagged version 0.6.4 git-svn-id: http://redmine.rubyforge.org/svn/tags/0.6-stable@1234 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r934:8c65cc47122b
r1220:f76558c035cc 0.6-stable
Show More
routes.rb
37 lines | 1.8 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
Jean-Philippe Lang
Added a named route for the home page....
r749 map.home '', :controller => 'welcome'
Jean-Philippe Lang
wiki branch merged into trunk...
r320
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
Per project forums added....
r526 map.connect 'projects/:project_id/boards/:action/:id', :controller => 'boards'
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
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
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