Class: GacoCms::Admin::FieldsController
- Inherits:
-
BaseController
- Object
- GacoCms::AdminController
- BaseController
- GacoCms::Admin::FieldsController
- Defined in:
- app/controllers/gaco_cms/admin/fields_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
Instance Method Details
#tpl ⇒ Object
8 9 10 11 |
# File 'app/controllers/gaco_cms/admin/fields_controller.rb', line 8 def tpl value = @field.field_values.new(group_no: params[:group_no]) render partial: '/gaco_cms/admin/fields/render/field', locals: { value: value } end |