Module: SimpleCrudify::CrudActions::Show 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.
Instance Method Summary collapse
- #show ⇒ Object private
Instance Method Details
#show ⇒ Object
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.
16 17 18 19 20 |
# File 'lib/simple_crudify/crud_actions.rb', line 16 def show @resource = ResourceHelper.resource(model_klass, params[:id]) render template_path end |