Refactor: move method, ProjectsController#add_file to FilesController#new.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4052 e93f8b46-1217-0410-a6f0-8f06a7374b81
Showing
- app/controllers/files_controller.rb 15 additions, 0 deletionsapp/controllers/files_controller.rb
- app/controllers/projects_controller.rb 0 additions, 16 deletionsapp/controllers/projects_controller.rb
- app/views/files/index.html.erb 1 addition, 1 deletionapp/views/files/index.html.erb
- app/views/files/new.html.erb 1 addition, 1 deletionapp/views/files/new.html.erb
- config/routes.rb 2 additions, 2 deletionsconfig/routes.rb
- lib/redmine.rb 1 addition, 1 deletionlib/redmine.rb
- test/functional/files_controller_test.rb 38 additions, 0 deletionstest/functional/files_controller_test.rb
- test/functional/projects_controller_test.rb 0 additions, 36 deletionstest/functional/projects_controller_test.rb
- test/integration/routing_test.rb 2 additions, 2 deletionstest/integration/routing_test.rb
Please register or sign in to comment