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)
-
+ (Object) blogit_conf
A helper method to access the configuration at the class level.
Instance Method Summary (collapse)
-
- (Object) blogit_conf
A helper method to access the configuration at the controller instance level.
Class Method Details
+ (Object) blogit_conf
A helper method to access the configuration at the class level.
16 17 18 |
# File 'app/controllers/blogit/application_controller.rb', line 16 def self.blogit_conf Blogit::configuration end |
Instance Method Details
- (Object) blogit_conf
A helper method to access the configuration at the controller instance level.
24 25 26 |
# File 'app/controllers/blogit/application_controller.rb', line 24 def blogit_conf self.class.blogit_conf end |