Stop using session flash to communicate with callbacks
This commit is contained in:
parent
b44399fb7c
commit
43f40c5d03
7 changed files with 12 additions and 30 deletions
|
@ -3,8 +3,8 @@ class SessionsController < ApplicationController
|
|||
|
||||
layout "site"
|
||||
|
||||
before_action :disable_terms_redirect, :only => [:destroy]
|
||||
before_action :authorize_web
|
||||
before_action :authorize_web, :except => [:destroy]
|
||||
before_action -> { authorize_web(:skip_terms => true) }, :only => [:destroy]
|
||||
before_action :set_locale
|
||||
before_action :check_database_readable
|
||||
before_action :require_cookies, :only => [:new]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue