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

Version Path
muck-profiles-3.1.4 test/app/controllers/application_controller.rb
muck-profiles-3.1.3 test/app/controllers/application_controller.rb
muck-profiles-3.0.2 test/rails_test/app/controllers/application_controller.rb
muck-profiles-3.0.1 test/rails_test/app/controllers/application_controller.rb
muck-profiles-3.0.0 test/rails_test/app/controllers/application_controller.rb