Class: Gluttonberg::Public::BaseController

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

Direct Known Subclasses

ArticlesController, BlogsController, FlagController, PagesController

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) locale

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

- (Object) page

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