Sha256: 039e385c69591ede5059076d69640e332462c99c47efede829d273b25052a37d

Contents?: true

Size: 280 Bytes

Versions: 3

Compression:

Stored size: 280 Bytes

Contents

module WebAdmin
  class ApplicationController < ActionController::Base
    layout 'web_admin/layouts/application'
    respond_to :html

    rescue_from CanCan::AccessDenied do |exception|
      render :file => "shared/403.html", :status => 403, :layout => false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
web_admin-0.1.0 app/controllers/web_admin/application_controller.rb
web_admin-0.0.2 app/controllers/web_admin/application_controller.rb
web_admin-0.0.1 app/controllers/web_admin/application_controller.rb