add stake order to admin

This commit is contained in:
João Geonizeli
2021-08-18 16:36:36 -03:00
parent e74024a126
commit bff0e3ea16
5 changed files with 110 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ class FiatBalanceDashboard < Administrate::BaseDashboard
#
# By default, it's limited to four items to reduce clutter on index pages.
# Feel free to add, remove, or rearrange items.
COLLECTION_ATTRIBUTES = [:id, :user, :amount_formatted].freeze
COLLECTION_ATTRIBUTES = [:user, :id, :amount_formatted].freeze
# SHOW_PAGE_ATTRIBUTES
# an array of attributes that will be displayed on the model's show page.