mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-03 06:21:49 +01:00
In a session-expired scenario that results from a call to tickler/check_tickler, Tracks will redirect to tickler/check_tickler after the user re-authenticates. That action only has an rjs view, so the result was a blank page. In that situation check_tickler will now trigger a redirect to the Tracks home page.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@312 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
994308f581
commit
14c8516002
1 changed files with 4 additions and 0 deletions
|
|
@ -112,6 +112,10 @@ class DeferredController < ApplicationController
|
|||
t.show_from = nil
|
||||
t.save_with_validation(false)
|
||||
end
|
||||
respond_to do |wants|
|
||||
wants.html { redirect_to :controller => 'todo', :action => 'index' }
|
||||
wants.js
|
||||
end
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue