Sha256: 18811a0e35e2a6c8b00649afd43a57603017beccf2681cf261998a4285e6a342

Contents?: true

Size: 290 Bytes

Versions: 5

Compression:

Stored size: 290 Bytes

Contents

module Intro
  class ApplicationController < ::ApplicationController
    protect_from_forgery with: :exception

    helper_method :current_user

    alias_method :origin_current_user, Intro.config.current_user_method.to_sym

    def current_user
      origin_current_user
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
intro-0.4.1 app/controllers/intro/application_controller.rb
intro-0.4.0 app/controllers/intro/application_controller.rb
intro-0.3.0 app/controllers/intro/application_controller.rb
intro-0.2.0 app/controllers/intro/application_controller.rb
intro-0.1.0 app/controllers/intro/application_controller.rb