Sha256: 28584ea2eab5ad4746b9a5ea3a0e4dc46b91d83a5717c7f82c96da173d099dcf
Contents?: true
Size: 496 Bytes
Versions: 5
Compression:
Stored size: 496 Bytes
Contents
class ApplicationController < ActionController::Base helper :all protect_from_forgery layout 'default' protected # ********************************************** # SSL method # only require ssl if we are in production def ssl_required? return false end # called by Admin::Muck::BaseController to check whether or not the # user should have access to the admin UI def admin_access_required access_denied unless admin? end end
Version data entries
5 entries across 5 versions & 1 rubygems