Class: Waves::Controllers::Base

Inherits:
Object
  • Object
show all
Includes:
Mixin
Defined in:
lib/controllers/base.rb

Instance Attribute Summary

Attributes included from Mixin

#request

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

#attributesObject



7
# File 'lib/controllers/base.rb', line 7

def attributes; params[model_name.singular.intern]; end