Refactor: move #destroy_comment method to CommentsController#destroy
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4172 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
4948121af0
commit
401197a895
8 files changed
+23
-17
No files matched your search
@@ -154,6 +154,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||
news_routes.connect 'news/:id/edit', :action => 'update', :conditions => {:method => :put}
|
||||
|
||||
news_routes.connect 'news/:id/comments', :controller => 'comments', :action => 'create', :conditions => {:method => :post}
|
||||
news_routes.connect 'news/:id/comments/:comment_id', :controller => 'comments', :action => 'destroy', :conditions => {:method => :delete}
|
||||
end
|
||||
|
||||
map.connect 'projects/:id/members/new', :controller => 'members', :action => 'new'
|
||||
|
||||
Reference in new issue
Block a user