Refactor: move NewsController#add_comment to CommentsController#create
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4170 e93f8b46-1217-0410-a6f0-8f06a7374b81
Showing
- app/controllers/comments_controller.rb 30 additions, 0 deletionsapp/controllers/comments_controller.rb
- app/controllers/news_controller.rb 0 additions, 12 deletionsapp/controllers/news_controller.rb
- app/views/news/show.rhtml 2 additions, 2 deletionsapp/views/news/show.rhtml
- config/routes.rb 2 additions, 0 deletionsconfig/routes.rb
- lib/redmine.rb 1 addition, 1 deletionlib/redmine.rb
- test/functional/comments_controller_test.rb 46 additions, 0 deletionstest/functional/comments_controller_test.rb
- test/functional/news_controller_test.rb 0 additions, 20 deletionstest/functional/news_controller_test.rb
- test/integration/routing_test.rb 2 additions, 1 deletiontest/integration/routing_test.rb
Please register or sign in to comment