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.9.4 spec/internal/app/controllers/application_controller.rb
api_me-0.9.3 spec/internal/app/controllers/application_controller.rb
api_me-0.9.2 spec/internal/app/controllers/application_controller.rb
api_me-0.9.1 spec/internal/app/controllers/application_controller.rb
api_me-0.9.0 spec/internal/app/controllers/application_controller.rb
api_me-0.8.3 spec/internal/app/controllers/application_controller.rb
api_me-0.7.1 spec/internal/app/controllers/application_controller.rb
api_me-0.8.2 spec/internal/app/controllers/application_controller.rb
api_me-0.8.1 spec/internal/app/controllers/application_controller.rb
api_me-0.8.0 spec/internal/app/controllers/application_controller.rb
api_me-0.7.0 spec/internal/app/controllers/application_controller.rb
api_me-0.6.0 spec/internal/app/controllers/application_controller.rb
api_me-0.5.3 spec/internal/app/controllers/application_controller.rb
api_me-0.5.2 spec/internal/app/controllers/application_controller.rb
api_me-0.5.1 spec/internal/app/controllers/application_controller.rb
api_me-0.5.0 spec/internal/app/controllers/application_controller.rb
api_me-0.4.1 spec/internal/app/controllers/application_controller.rb
api_me-0.4.0 spec/internal/app/controllers/application_controller.rb
api_me-0.3.6 spec/internal/app/controllers/application_controller.rb
api_me-0.3.5 spec/internal/app/controllers/application_controller.rb