Sha256: 3d7ecc403a316fa8818a8eb62ae460c7da1c76a25a2ee1268dfdfa84074afa94

Contents?: true

Size: 177 Bytes

Versions: 33

Compression:

Stored size: 177 Bytes

Contents

::ApplicationController.class_eval do

  # Current Account Helper
  def current_account
    @current_account ||= env['Houser-Object']
  end
  helper_method :current_account

end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
mtdevise-6.0.0 app/extenders/controllers/application_controller_extender.rb
mtdevise-5.1.2 app/extenders/controllers/application_controller_extender.rb
mtdevise-5.1.1 app/extenders/controllers/application_controller_extender.rb
mtdevise-5.1.0 app/extenders/controllers/application_controller_extender.rb
mtdevise-5.0.0 app/extenders/controllers/application_controller_extender.rb
mtdevise-5.0.0b app/extenders/controllers/application_controller_extender.rb
mtdevise-4.1.5 app/extenders/controllers/application_controller_extender.rb
mtdevise-4.1.4 app/extenders/controllers/application_controller_extender.rb
mtdevise-4.1.2 app/extenders/controllers/application_controller_extender.rb
mtdevise-4.1.1 app/extenders/controllers/application_controller_extender.rb
mtdevise-4.1.0 app/extenders/controllers/application_controller_extender.rb
mtdevise-4.0.0 app/extenders/controllers/application_controller_extender.rb
mtdevise-3.10.2 app/extenders/controllers/application_controller_extender.rb