Sha256: c8c17877448758963c2fc8ca89fd61dee54e05e84ed73eb20e90384d50646886

Contents?: true

Size: 259 Bytes

Versions: 3

Compression:

Stored size: 259 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery
  before_filter :require_login

  protected
  def not_authenticated
      redirect_to login_path, :alert => "You're not authorized to access this page. Please login first."
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bootup-0.0.4.1 lib/generators/bootup/templates/authentication/controllers/application_controller.rb
bootup-0.0.4 lib/generators/bootup/templates/authentication/controllers/application_controller.rb
bootup-0.0.3 lib/generators/bootup/templates/authentication/controllers/application_controller.rb