add fiat balances dashboard
This commit is contained in:
8
app/controllers/admin/fiat_balances_controller.rb
Normal file
8
app/controllers/admin/fiat_balances_controller.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
# frozen_string_literal: true
|
||||
module Admin
|
||||
class FiatBalancesController < Admin::ApplicationController
|
||||
def valid_action?(name, resource = resource_class)
|
||||
["destroy"].exclude?(name.to_s) && super
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user