-
### FILE
```
ActiveAdmin.register AdminRole do
permit_params :name
menu parent: 'Configuration', label: 'Admin Roles'
# See permitted parameters documentation:
# https://github.com/activeadm…
-
### FILE
```
ActiveAdmin.register CommissionRate do
menu parent: 'Users', label: 'Commission Rates'
# See permitted parameters documentation:
# https://github.com/activeadmin/activeadmin/blob…
-
### FILE
```
ActiveAdmin.register FiatRate do
config.sort_order = 'date_desc'
menu parent: 'Currencies', label: 'EU Rates'
# See permitted parameters documentation:
# https://github.com/act…
-
### FILE
```
ActiveAdmin.register Fee do
permit_params :name, :slug, :amount, :units, :currency, :status
config.sort_order = 'name_asc'
menu parent: 'Configuration', label: 'Fees'
# See pe…
-
### FILE
```
ActiveAdmin.register AdminRole do
permit_params :name
menu parent: 'Configuration', label: 'Admin Roles'
# See permitted parameters documentation:
# https://github.com/activead…
-
### FILE
```
ActiveAdmin.register InsuranceLead do
config.sort_order = 'created_at_desc'
menu parent: 'Loans & Insurance', label: 'Insurance Leads'
# See permitted parameters documentation:
…
-
### FILE
```
ActiveAdmin.register ExchangeRate do
# config.sort_order = 'name_asc'
menu parent: 'Currencies', label: 'Exchange Rates'
# See permitted parameters documentation:
# https://gi…
-
### FILE
```
ActiveAdmin.register Invite do
actions :all, except: [:new, :edit, :destroy]
config.sort_order = 'created_at_asc'
menu parent: 'Users', label: 'User Invites'
# See permitted …
-
### FILE
```
ActiveAdmin.register ConfigurationSetting do
actions :all, except: :destroy
config.sort_order = 'name'
menu parent: 'Configuration', label: 'General'
# See permitted paramete…
-
### FILE
```
ActiveAdmin.register Currency do
actions :all, except: :destroy
permit_params :active
config.sort_order = 'entity_asc'
scope('Active', default: true) { |scope| scope.where(acti…