* relates to: do nothing special. Just to know that the 2 issues are related... * duplicates: will close the related issue with the same status when closing the issue (not implemented yet) * blocks: will require to close the blocking issue before closing the blocked issue (not implemented yet) * precedes (end to start relation): start date of the related issue depends on the due date of the preceding issue (implemented). A delay can be set so that the related issue can only start n days after the end of the preceding issue. When setting dates for an issue, dates of all downstream issues are set according to these relations. To set a relation, the 2 issues have to belong to the same project (may change in the future). So if an issue is moved to another project, all its relations are removed. Circular dependencies are checked when creating a relation. git-svn-id: http://redmine.rubyforge.org/svn/trunk@506 e93f8b46-1217-0410-a6f0-8f06a7374b81
28 lines
1.1 KiB
Ruby
28 lines
1.1 KiB
Ruby
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
|
|
|
|
# You can have the root of your site routed by hooking up ''
|
|
# -- just remember to delete public/index.html.
|
|
map.connect '', :controller => "welcome"
|
|
|
|
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'
|
|
|
|
map.connect 'issues/:issue_id/relations/:action/:id', :controller => 'issue_relations'
|
|
|
|
# Allow downloading Web Service WSDL as a file with an extension
|
|
# instead of a file named 'wsdl'
|
|
map.connect ':controller/service.wsdl', :action => 'wsdl'
|
|
|
|
|
|
# Install the default route as the lowest priority.
|
|
map.connect ':controller/:action/:id'
|
|
end
|