summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index ceaaf6219..2950cba21 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -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'