Add device tab to activeadmin

This commit is contained in:
Yedhu Krishnan
2015-10-17 19:28:41 +05:30
parent 97bc55a518
commit fb3b514f3d

17
app/admin/device.rb Normal file
View File

@@ -0,0 +1,17 @@
ActiveAdmin.register Device do
# See permitted parameters documentation:
# https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
#
# permit_params :list, :of, :attributes, :on, :model
#
# or
#
# permit_params do
# permitted = [:permitted, :attributes]
# permitted << :other if resource.something?
# permitted
# end
end