Class: Waves::Controllers::Base
- Includes:
- Mixin
- Defined in:
- lib/controllers/base.rb
Instance Attribute Summary
Attributes included from Mixin
Instance Method Summary collapse
Methods included from Mixin
included, #initialize, #model, #model_name, #params
Methods included from ResponseMixin
#blackboard, #controllers, #domain, #log, #models, #not_found, #params, #path, #redirect, #response, #session, #url, #views
Instance Method Details
#attributes ⇒ Object
7 |
# File 'lib/controllers/base.rb', line 7 def attributes; params[model_name.singular.intern]; end |