Sha256: f01da7c95bc07d321d561c0e67a9929423df0e1d454dee9d4dd77732cdbde4ac
Contents?: true
Size: 493 Bytes
Versions: 10
Compression:
Stored size: 493 Bytes
Contents
module Adminpanel class ApplicationController < ::ApplicationController layout "admin" protect_from_forgery include SessionsHelper before_filter :signed_in_user def signed_in_user redirect_to signin_url, :notice => "Favor de Iniciar sesion" unless signed_in? end def handle_unverified_request sign_out super end end end
Version data entries
10 entries across 10 versions & 1 rubygems