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)
Constructor Details
#initialize(**params) ⇒ Vedeu::ApplicationController
Returns a new instance of Vedeu::ApplicationController.
19 20 21 |
# File 'lib/vedeu/application/application_controller.rb', line 19 def initialize(**params) @params = params end |
Instance Attribute Details
#params ⇒ Hash (protected)
Returns The named parameters passed to the controller.
39 40 41 |
# File 'lib/vedeu/application/application_controller.rb', line 39 def params @params end |