Sha256: 2f0743a686ab432249bc9da0e9f2a27fb93ee7ce51bf58254e413b07f02663b6

Contents?: true

Size: 240 Bytes

Versions: 5

Compression:

Stored size: 240 Bytes

Contents

class Vision::ApplicationController < ApplicationController
  protect_from_forgery

  rescue_from CanCan::AccessDenied do |exception|
    redirect_to admin_root_url, :alert => exception.message
  end

  before_filter :authenticate_user!
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vision-0.0.2 app/controllers/vision/application_controller.rb
vision-0.0.1 app/controllers/vision/application_controller.rb
vision-0.0.1.beta2 app/controllers/vision/application_controller.rb
vision-0.0.1.beta app/controllers/vision/application_controller.rb
vision-0.0.1.alpha1 app/controllers/vision/application_controller.rb