| 1 | ActiveAdmin.register UserSetting do |
| 2 | menu priority: 3, parent: 'Users' |
| 3 | actions :all, except: %i[edit update] |
| 4 | |
| 5 | index do |
| 6 | selectable_column |
| 7 | column :user |
| 8 | column :locale |
| 9 | column :created_at |
| 10 | column :updated_at |
| 11 | actions |
| 12 | end |
| 13 | |
| 14 | filter :user |
| 15 | filter :locale |
| 16 | |
| 17 | show do |
| 18 | attributes_table do |
| 19 | row :user |
| 20 | row :locale |
| 21 | row :created_at |
| 22 | row :updated_at |
| 23 | end |
| 24 | end |
| 25 | end |