@@ -173,8 +173,6 class IssuesController < ApplicationController | |||||
173 | def edit |
|
173 | def edit | |
174 | update_issue_from_params |
|
174 | update_issue_from_params | |
175 |
|
175 | |||
176 | @journal = @issue.current_journal |
|
|||
177 |
|
||||
178 | respond_to do |format| |
|
176 | respond_to do |format| | |
179 | format.html { } |
|
177 | format.html { } | |
180 | format.xml { } |
|
178 | format.xml { } | |
@@ -193,10 +191,6 class IssuesController < ApplicationController | |||||
193 | format.api { head :ok } |
|
191 | format.api { head :ok } | |
194 | end |
|
192 | end | |
195 | else |
|
193 | else | |
196 | render_attachment_warning_if_needed(@issue) |
|
|||
197 | flash[:notice] = l(:notice_successful_update) unless @issue.current_journal.new_record? |
|
|||
198 | @journal = @issue.current_journal |
|
|||
199 |
|
||||
200 | respond_to do |format| |
|
194 | respond_to do |format| | |
201 | format.html { render :action => 'edit' } |
|
195 | format.html { render :action => 'edit' } | |
202 | format.api { render_validation_errors(@issue) } |
|
196 | format.api { render_validation_errors(@issue) } |
General Comments 0
You need to be logged in to leave comments.
Login now