Sha256: 552ad18a78d11ba8ca134b5dbcfefbbb43522c37e449439947c0c89eac453665

Contents?: true

Size: 720 Bytes

Versions: 94

Compression:

Stored size: 720 Bytes

Contents

ActiveAdmin.register ::User do
  permit_params :email, :password, :password_confirmation, :admin, :api_key, :api_secret

  controller do
    require 'inherited_resources'
  end

  index do
    selectable_column
    id_column
    column :email
    column :current_sign_in_at
    column :sign_in_count
    column :created_at
    column :admin
    column :nexmo_developer_api_secret
    actions
  end

  filter :email
  filter :current_sign_in_at
  filter :sign_in_count
  filter :created_at
  filter :admin

  form do |f|
    f.inputs do
      f.input :email
      f.input :password
      f.input :password_confirmation
      f.input :api_key
      f.input :api_secret
      f.input :admin
    end
    f.actions
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
station-0.0.131 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.130 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.129 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.128 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.127 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.126 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.125 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.124 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.123 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.122 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.121 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.120 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.119 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.118 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.115 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.114 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.113 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.112 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.111 lib/nexmo_developer/app/admin/admin_user.rb
station-0.0.110 lib/nexmo_developer/app/admin/admin_user.rb