Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescmartinez committed Apr 27, 2019
1 parent 6e3a897 commit ccf55bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ gem "bootsnap", require: false
gem "cloudinary", require: false
gem "factory_bot_rails"
gem "friendly_id"
gem "graphql"
gem "graphiql-rails"
gem "graphql"
gem "httparty"
gem "icalendar"
gem "jbuilder"
Expand Down
1 change: 1 addition & 0 deletions app/graphql/types/query_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class QueryType < GraphQL::Schema::Object

def groups(id: nil)
return Group.all unless id

[Group.friendly.find(id)]
end
end
Expand Down

0 comments on commit ccf55bd

Please sign in to comment.