Sha256: ec95f6482fcc9d9d6044e997ac6498d8fdf9e403f524b576a2d8eeb2124eaeb8
Contents?: true
Size: 610 Bytes
Versions: 1
Compression:
Stored size: 610 Bytes
Contents
if defined?(ActiveAdmin) module Gemgento ActiveAdmin.register Store do menu priority: 100, parent: 'Gemgento', label: 'Stores' actions :all, :except => [:new, :destroy] index do column :name column :currency_code actions end form multipart: true do |f| f.inputs do f.input :currency_code end f.actions end controller do def permitted_params params.permit( :gemgento_store => [ :currency_code ]) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemgento-2.8.0 | lib/gemgento/admin/stores.rb |