Refactor: split NewsController#edit into #edit and #update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4168 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
+1
-1
@@ -149,9 +149,9 @@ ActionController::Routing::Routes.draw do |map|
|
||||
end
|
||||
news_routes.with_options do |news_actions|
|
||||
news_actions.connect 'projects/:project_id/news', :action => 'create', :conditions => {:method => :post}
|
||||
news_actions.connect 'news/:id/edit', :action => 'edit'
|
||||
news_actions.connect 'news/:id/destroy', :action => 'destroy'
|
||||
end
|
||||
news_routes.connect 'news/:id/edit', :action => 'update', :conditions => {:method => :put}
|
||||
end
|
||||
|
||||
map.connect 'projects/:id/members/new', :controller => 'members', :action => 'new'
|
||||
|
||||
Reference in New Issue
Block a user