Module: StructureableHelper
- Defined in:
- app/helpers/structureable_helper.rb
Instance Method Summary collapse
Instance Method Details
#add_structureable_button(parent_structureable) ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/helpers/structureable_helper.rb', line 3 def ( parent_structureable ) render partial: 'shared/add_structureable', locals: { parent: parent_structureable, parent_id: parent_structureable.id, parent_type: parent_structureable.class.name } end |