Sha256: 9c71812ad0e5a4cae7050c1a4bb2f085b30f565590b980ec0761d12ad98e1fad

Contents?: true

Size: 277 Bytes

Versions: 4

Compression:

Stored size: 277 Bytes

Contents

class ApplicationController < ActionController::Base
  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :exception
  helper_method :current_user

  def current_user
    FakeUser.new
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
revelry_content-1.0.0 test/dummy/app/controllers/application_controller.rb
revelry_content-0.0.1.2 test/dummy/app/controllers/application_controller.rb
revelry_content-0.0.1.1 test/dummy/app/controllers/application_controller.rb
revelry_content-0.0.1 test/dummy/app/controllers/application_controller.rb