Module: SimpleCrudify::CrudActions::Edit Private

Defined in:
lib/simple_crudify/crud_actions.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Instance Method Summary collapse

Instance Method Details

#editObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0



50
51
52
53
54
# File 'lib/simple_crudify/crud_actions.rb', line 50

def edit
  @resource = ResourceHelper.resource(model_klass, params[:id])

  render template_path
end