diff --git a/app/graphql/mutations/base_mutation.rb b/app/graphql/mutations/base_mutation.rb index 0f62e89..9fcaebc 100644 --- a/app/graphql/mutations/base_mutation.rb +++ b/app/graphql/mutations/base_mutation.rb @@ -9,7 +9,8 @@ def self.authorize(action, resource_class) define_method(:authorized?) do resource = resource_class.find(arguments[:id]) context[:current_ability].authorize!(action, resource) + # true end end end -end \ No newline at end of file +end diff --git a/app/graphql/mutations/projects/update_project.rb b/app/graphql/mutations/projects/update_projects.rb similarity index 99% rename from app/graphql/mutations/projects/update_project.rb rename to app/graphql/mutations/projects/update_projects.rb index ad09224..506e994 100644 --- a/app/graphql/mutations/projects/update_project.rb +++ b/app/graphql/mutations/projects/update_projects.rb @@ -38,4 +38,4 @@ def authorized_find!(id) project end end - end \ No newline at end of file + end