Removed useless code.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8771 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
333a6cc370
commit
06f8c4b27a
@ -173,8 +173,6 @@ class IssuesController < ApplicationController
|
|||||||
def edit
|
def edit
|
||||||
update_issue_from_params
|
update_issue_from_params
|
||||||
|
|
||||||
@journal = @issue.current_journal
|
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html { }
|
format.html { }
|
||||||
format.xml { }
|
format.xml { }
|
||||||
@ -193,10 +191,6 @@ class IssuesController < ApplicationController
|
|||||||
format.api { head :ok }
|
format.api { head :ok }
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
render_attachment_warning_if_needed(@issue)
|
|
||||||
flash[:notice] = l(:notice_successful_update) unless @issue.current_journal.new_record?
|
|
||||||
@journal = @issue.current_journal
|
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html { render :action => 'edit' }
|
format.html { render :action => 'edit' }
|
||||||
format.api { render_validation_errors(@issue) }
|
format.api { render_validation_errors(@issue) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user