Sha256: 94bb034491fe215d4062cef2004619226b4fdea7f883422087248852b1cba409

Contents?: true

Size: 405 Bytes

Versions: 36

Compression:

Stored size: 405 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery

  helper_method :profile_model, :menu_model, :impersonation_banner_helper

  private

  def profile_model
    ProfileLinks.generate
  end

  def menu_model
    Menu.generate(@selection)
  end

  def impersonation_banner_helper
    {
      logged_in_as: nil,
      impersonating: nil,
      impersonating?: false
    }
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
woople-theme-0.10.0 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.9.0 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.19 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.18 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.17 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.16 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.15 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.14 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.13 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.12 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.11 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.10 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.9 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.8 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.7 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.6 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.5 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.4 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.3 spec/dummy/app/controllers/application_controller.rb
woople-theme-0.8.2 spec/dummy/app/controllers/application_controller.rb