Class: Gluttonberg::Public::BaseController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/gluttonberg/public/base_controller.rb

Instance Attribute Summary collapse

Instance Attribute Details

#localeObject

The included hook is used to create a bunch of class-ivars, which are used to store various configuration options.

It also installs before and after hooks that have been declared elsewhere in this module.



14
15
16
# File 'app/controllers/gluttonberg/public/base_controller.rb', line 14

def locale
  @locale
end

#pageObject

The included hook is used to create a bunch of class-ivars, which are used to store various configuration options.

It also installs before and after hooks that have been declared elsewhere in this module.



14
15
16
# File 'app/controllers/gluttonberg/public/base_controller.rb', line 14

def page
  @page
end