Sha256: 548c2a21ecfd95e73c2998959ab050fd524de84ebe3be2b1b1b214be0b753df6

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 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
  before_action :authenticate_user!

  helper_method :app_name
  def app_name
    return 'Infinum Boilerplate'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
omniauth-infinum-0.11.1 examples/devise_and_omniauth_infinum/app/controllers/application_controller.rb
omniauth-infinum-0.10.0 examples/devise_and_omniauth_infinum/app/controllers/application_controller.rb
omniauth-infinum-0.10.1 examples/devise_and_omniauth_infinum/app/controllers/application_controller.rb