Module: RestfulController::Actions::Destroy

Defined in:
lib/restful_controller/actions/destroy.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



4
5
6
# File 'lib/restful_controller/actions/destroy.rb', line 4

def destroy
  instance_variable_get("@#{self.class.model_name}").destroy
end