Module: RestfulController::Helpers

Extended by:
ActiveSupport::Concern
Defined in:
lib/restful_controller/helpers.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#model_paramsObject



5
6
7
# File 'lib/restful_controller/helpers.rb', line 5

def model_params
  send("#{self.class.model_name}_params")
end