diff options
Diffstat (limited to 'app/controllers/journals_controller.rb')
-rw-r--r-- | app/controllers/journals_controller.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/journals_controller.rb b/app/controllers/journals_controller.rb index d3b56e8cb..189204e26 100644 --- a/app/controllers/journals_controller.rb +++ b/app/controllers/journals_controller.rb @@ -75,6 +75,14 @@ class JournalsController < ApplicationController format.html { redirect_to :controller => 'issues', :action => 'show', :id => @journal.journalized_id } format.js { render :action => 'update' } end + else + respond_to do |format| + format.html { + # TODO: implement non-JS journal update + render :nothing => true + } + format.js + end end end |