Skip to content

Commit d854445

Browse files
authored
Update base_mutation.rb
1 parent 052b925 commit d854445

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/graphql/mutations/base_mutation.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class BaseMutation < GraphQL::Schema::RelayClassicMutation
77

88
def self.authorize(action, resource_class)
99
define_method(:authorized?) do
10+
true
1011
# resource = resource_class.find(arguments[:id])
1112
# context[:current_ability].authorize!(action, resource)
1213
end

0 commit comments

Comments
 (0)