Sha256: 9680cb6ef14e5ad7dab793414246fc6777f9ba043f7799792378ea7f2558bae5
Contents?: true
Size: 499 Bytes
Versions: 16
Compression:
Stored size: 499 Bytes
Contents
class ApplicationController < ActionController::Base include SslRequirement helper :all protect_from_forgery 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
16 entries across 16 versions & 2 rubygems