@@ -75,6 +75,14 class JournalsController < ApplicationController | |||
|
75 | 75 | format.html { redirect_to :controller => 'issues', :action => 'show', :id => @journal.journalized_id } |
|
76 | 76 | format.js { render :action => 'update' } |
|
77 | 77 | end |
|
78 | else | |
|
79 | respond_to do |format| | |
|
80 | format.html { | |
|
81 | # TODO: implement non-JS journal update | |
|
82 | render :nothing => true | |
|
83 | } | |
|
84 | format.js | |
|
85 | end | |
|
78 | 86 | end |
|
79 | 87 | end |
|
80 | 88 |
General Comments 0
You need to be logged in to leave comments.
Login now