Sha256: bcf92b74d5c9631526d6972a2c4a17e23d17f3cfa2224eead9ddebb3b848894e
Contents?: true
Size: 675 Bytes
Versions: 3
Compression:
Stored size: 675 Bytes
Contents
ActiveAdmin.register User do ################################## ################################## # => Menu menu priority: 1, label: -> { ['👽', User.model_name.human(count: 2)].join(' ') } # => Params permit_params :email, :password, :password_confirmation ################################## ################################## # => Index index do column :email column :current_sign_in_at column :last_sign_in_at column :sign_in_count actions end filter :email form do |f| f.inputs "Admin Details" do f.input :email f.input :password f.input :password_confirmation end f.actions end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fl-0.3.9 | app/admin/users.rb |
fl-0.3.8 | app/admin/users.rb |
fl-0.3.6 | app/admin/users.rb |