add balance entity

This commit is contained in:
João Geonizeli
2021-08-11 09:28:42 -03:00
parent 2b9397b340
commit 38b60ca0fa
13 changed files with 184 additions and 14 deletions

View File

@@ -0,0 +1,5 @@
# frozen_string_literal: true
module Admin
class BalancesController < Admin::ApplicationController
end
end

View File

@@ -1,5 +1,8 @@
# frozen_string_literal: true
module Admin
class CurrenciesController < Admin::ApplicationController
def valid_action?(name, resource = resource_class)
["new", "edit", "destroy"].exclude?(name.to_s) && super
end
end
end