Class: Blogit::ApplicationController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Blogit::ApplicationController
- Defined in:
- app/controllers/blogit/application_controller.rb
Overview
Inherits from the application’s controller instead of ActionController::Base
Direct Known Subclasses
Class Method Summary collapse
-
.blogit_conf ⇒ Object
A helper method to access the configuration at the class level.
Instance Method Summary collapse
-
#blogit_conf ⇒ Object
A helper method to access the configuration at the controller instance level.
Class Method Details
.blogit_conf ⇒ Object
A helper method to access the configuration at the class level.
Returns a Blogit::Configuration
16 17 18 |
# File 'app/controllers/blogit/application_controller.rb', line 16 def self.blogit_conf Blogit::configuration end |
Instance Method Details
#blogit_conf ⇒ Object
A helper method to access the configuration at the controller instance
level.
Returns a Blogit::Configuration
24 25 26 |
# File 'app/controllers/blogit/application_controller.rb', line 24 def blogit_conf self.class.blogit_conf end |