Add missing callbacks to session controller
This commit is contained in:
parent
097449d8e1
commit
bf3743f190
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ class SessionsController < ApplicationController
|
|||
layout "site"
|
||||
|
||||
before_action :disable_terms_redirect, :only => [:destroy]
|
||||
before_action :authorize_web
|
||||
before_action :set_locale
|
||||
before_action :check_database_readable
|
||||
before_action :require_cookies, :only => [:new]
|
||||
|
||||
authorize_resource :class => false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue