Sha256: 519bca661e3f8c8ab09e1ce4da1298b4e393fb83ef4004ed17b0da0ad00bc618

Contents?: true

Size: 184 Bytes

Versions: 5

Compression:

Stored size: 184 Bytes

Contents

class ApplicationController < ActionController::Base

  protect_from_forgery

  def authenticate!
    render text: 'forbidden' unless cookies[:login]
  end

  def authorize!
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
status_cat-5.2.1 spec/dummy/app/controllers/application_controller.rb
status_cat-5.2.0 spec/dummy/app/controllers/application_controller.rb
status_cat-5.0.2 spec/dummy/app/controllers/application_controller.rb
status_cat-5.0.1 spec/dummy/app/controllers/application_controller.rb
status_cat-5.0.0 spec/dummy/app/controllers/application_controller.rb