Class: DynamicFieldsets::FieldsetAssociatorsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- DynamicFieldsets::FieldsetAssociatorsController
- Defined in:
- app/controllers/dynamic_fieldsets/fieldset_associators_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
show all fieldset associators.
-
#show ⇒ Object
show one fieldset associator.
Instance Method Details
#index ⇒ Object
show all fieldset associators
7 8 9 10 11 12 13 |
# File 'app/controllers/dynamic_fieldsets/fieldset_associators_controller.rb', line 7 def index @fieldset_associators = DynamicFieldsets::FieldsetAssociator.all respond_to do |format| format.html end end |
#show ⇒ Object
show one fieldset associator
16 17 18 19 20 21 |
# File 'app/controllers/dynamic_fieldsets/fieldset_associators_controller.rb', line 16 def show @fieldset_associator = DynamicFieldsets::FieldsetAssociator.find(params[:id]) respond_to do |format| format.html end end |