Sha256: b1bf8b684c709606282136649868d3f279893a82cba32ce00ed280561d6ecf65

Contents?: true

Size: 270 Bytes

Versions: 25

Compression:

Stored size: 270 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

  private

  # Needed by pundit
  def current_user
    nil
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
api_me-0.3.4 spec/internal/app/controllers/application_controller.rb
api_me-0.3.3 spec/internal/app/controllers/application_controller.rb
api_me-0.3.2 spec/internal/app/controllers/application_controller.rb
api_me-0.3.1 spec/internal/app/controllers/application_controller.rb
api_me-0.3.0 spec/internal/app/controllers/application_controller.rb