Adds a link to automatically close completed versions in project settings (#1245).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3023 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
cc684803ba
commit
8f40750ad7
7 files changed
+61
-4
No files matched your search
@@ -208,6 +208,12 @@ ActionController::Routing::Routes.draw do |map|
|
||||
end
|
||||
end
|
||||
|
||||
map.with_options :controller => 'versions' do |versions|
|
||||
versions.with_options :conditions => {:method => :post} do |version_actions|
|
||||
version_actions.connect 'projects/:project_id/versions/close_completed', :action => 'close_completed'
|
||||
end
|
||||
end
|
||||
|
||||
map.with_options :controller => 'repositories' do |repositories|
|
||||
repositories.with_options :conditions => {:method => :get} do |repository_views|
|
||||
repository_views.connect 'projects/:id/repository', :action => 'show'
|
||||
|
||||
Reference in new issue
Block a user