@@ -173,8 +173,6 class IssuesController < ApplicationController | |||
|
173 | 173 | def edit |
|
174 | 174 | update_issue_from_params |
|
175 | 175 | |
|
176 | @journal = @issue.current_journal | |
|
177 | ||
|
178 | 176 | respond_to do |format| |
|
179 | 177 | format.html { } |
|
180 | 178 | format.xml { } |
@@ -193,10 +191,6 class IssuesController < ApplicationController | |||
|
193 | 191 | format.api { head :ok } |
|
194 | 192 | end |
|
195 | 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 | 194 | respond_to do |format| |
|
201 | 195 | format.html { render :action => 'edit' } |
|
202 | 196 | format.api { render_validation_errors(@issue) } |
General Comments 0
You need to be logged in to leave comments.
Login now