]> source.dussan.org Git - redmine.git/commit
Refactor: merge IssuesController#update_form into IssuesController#new
authorEric Davis <edavis@littlestreamsoftware.com>
Fri, 20 Aug 2010 15:22:19 +0000 (15:22 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Fri, 20 Aug 2010 15:22:19 +0000 (15:22 +0000)
commitdfd1d0c7feef44685f4c72a3126f972610021055
tree39bb7e028d1cb3fcfc3490789b7e6632f9d25af3
parent969655789792e6f77ff7dc67bb83e20fadffeb2f
Refactor: merge IssuesController#update_form into IssuesController#new

The #update_form action was only refreshing the issue attributes form,
so it's just a specialized JavaScript version of #new.  This also removed
old code that was extracted in other places (@issue.new_statuses_allowed_to).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4011 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/issues_controller.rb
app/views/issues/_form.rhtml
test/functional/issues_controller_test.rb