wallet screen

This commit is contained in:
João Geonizeli
2021-08-11 20:51:42 -03:00
parent 38b60ca0fa
commit a057931c51
19 changed files with 656 additions and 20 deletions

View File

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

View File

@@ -1,7 +1,5 @@
# frozen_string_literal: true
class ApplicationController < ActionController::Base
include Pundit
before_action :configure_devise_permitted_parameters, if: :devise_controller?
protected

View File

@@ -1,5 +1,7 @@
# frozen_string_literal: true
class GraphqlController < ApplicationController
# protect_from_forgery with: :null_session
def execute
variables = prepare_variables(params[:variables])
query = params[:query]