Custom fields refactoring: most of code moved from controllers to models...
Custom fields refactoring: most of code moved from controllers to models (using new module ActsAsCustomizable). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1592 e93f8b46-1217-0410-a6f0-8f06a7374b81
Showing
- app/controllers/account_controller.rb 0 additions, 5 deletionsapp/controllers/account_controller.rb
- app/controllers/issues_controller.rb 5 additions, 19 deletionsapp/controllers/issues_controller.rb
- app/controllers/projects_controller.rb 2 additions, 12 deletionsapp/controllers/projects_controller.rb
- app/controllers/timelog_controller.rb 1 addition, 1 deletionapp/controllers/timelog_controller.rb
- app/controllers/users_controller.rb 1 addition, 10 deletionsapp/controllers/users_controller.rb
- app/helpers/custom_fields_helper.rb 15 additions, 12 deletionsapp/helpers/custom_fields_helper.rb
- app/helpers/issues_helper.rb 1 addition, 1 deletionapp/helpers/issues_helper.rb
- app/models/issue.rb 6 additions, 8 deletionsapp/models/issue.rb
- app/models/project.rb 4 additions, 9 deletionsapp/models/project.rb
- app/models/query.rb 2 additions, 2 deletionsapp/models/query.rb
- app/models/user.rb 6 additions, 2 deletionsapp/models/user.rb
- app/views/account/register.rhtml 2 additions, 2 deletionsapp/views/account/register.rhtml
- app/views/issues/_form_custom_fields.rhtml 7 additions, 6 deletionsapp/views/issues/_form_custom_fields.rhtml
- app/views/issues/show.rhtml 3 additions, 3 deletionsapp/views/issues/show.rhtml
- app/views/projects/_form.rhtml 6 additions, 6 deletionsapp/views/projects/_form.rhtml
- app/views/projects/show.rhtml 1 addition, 1 deletionapp/views/projects/show.rhtml
- app/views/users/_form.rhtml 3 additions, 3 deletionsapp/views/users/_form.rhtml
- test/fixtures/custom_fields.yml 9 additions, 2 deletionstest/fixtures/custom_fields.yml
- test/functional/issues_controller_test.rb 82 additions, 5 deletionstest/functional/issues_controller_test.rb
- test/functional/projects_controller_test.rb 1 addition, 1 deletiontest/functional/projects_controller_test.rb
Loading
Please register or sign in to comment