Sha256: f851a1ad3176ba75c0d2d37293c19b79b874b3cd3c9d17307297bdbf51f79335
Contents?: true
Size: 527 Bytes
Versions: 2
Compression:
Stored size: 527 Bytes
Contents
module Adminpanel class ApplicationController < ::ApplicationController layout "admin" # protect_from_forgery # include helper :sessions # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adminpanel-0.0.2 | app/controllers/adminpanel/application_controller.rb |
adminpanel-0.0.1 | app/controllers/adminpanel/application_controller.rb |