OSDN Git Service

Custom fields refactoring: most of code moved from controllers to models (using new...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 27 Jun 2008 20:13:56 +0000 (20:13 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 27 Jun 2008 20:13:56 +0000 (20:13 +0000)
commitce6cf66f6c3af26383cd25ed012d908be4b40bae
treedfecb66fd8cca4de280494515e0ad21ec6f32dfd
parenta4a8b6381e4a162da85319e216a770ee7bd82202
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
24 files changed:
app/controllers/account_controller.rb
app/controllers/issues_controller.rb
app/controllers/projects_controller.rb
app/controllers/timelog_controller.rb
app/controllers/users_controller.rb
app/helpers/custom_fields_helper.rb
app/helpers/issues_helper.rb
app/models/issue.rb
app/models/project.rb
app/models/query.rb
app/models/user.rb
app/views/account/register.rhtml
app/views/issues/_form_custom_fields.rhtml
app/views/issues/show.rhtml
app/views/projects/_form.rhtml
app/views/projects/show.rhtml
app/views/users/_form.rhtml
test/fixtures/custom_fields.yml
test/functional/issues_controller_test.rb
test/functional/projects_controller_test.rb
test/integration/admin_test.rb
test/unit/issue_test.rb
vendor/plugins/acts_as_customizable/init.rb [new file with mode: 0644]
vendor/plugins/acts_as_customizable/lib/acts_as_customizable.rb [new file with mode: 0644]