@@ -75,6 +75,14 class JournalsController < ApplicationController | |||||
75 | format.html { redirect_to :controller => 'issues', :action => 'show', :id => @journal.journalized_id } |
|
75 | format.html { redirect_to :controller => 'issues', :action => 'show', :id => @journal.journalized_id } | |
76 | format.js { render :action => 'update' } |
|
76 | format.js { render :action => 'update' } | |
77 | end |
|
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 | end |
|
86 | end | |
79 | end |
|
87 | end | |
80 |
|
88 |
General Comments 0
You need to be logged in to leave comments.
Login now