Class: Vedeu::ApplicationController
- Inherits:
-
Object
- Object
- Vedeu::ApplicationController
- Includes:
- Controller
- Defined in:
- lib/vedeu/application/application_controller.rb
Overview
Provides methods which should be available to all client application controllers. The client application’s ApplicationController will inherit from this class.
Instance Attribute Summary collapse
-
#params ⇒ Hash
protected
The named parameters passed to the controller.
Instance Method Summary collapse
-
#initialize(**params) ⇒ Vedeu::ApplicationController
constructor
Returns a new instance of Vedeu::ApplicationController.
- #redirect_to(controller, action, **params) ⇒ Object (also: #redirect, #goto)
Methods included from Controller
Constructor Details
#initialize(**params) ⇒ Vedeu::ApplicationController
Returns a new instance of Vedeu::ApplicationController.
21 22 23 |
# File 'lib/vedeu/application/application_controller.rb', line 21 def initialize(**params) @params = params end |
Instance Attribute Details
#params ⇒ Hash (protected)
Returns The named parameters passed to the controller.
41 42 43 |
# File 'lib/vedeu/application/application_controller.rb', line 41 def params @params end |