Skip to content

Commit

Permalink
Don't define a root
Browse files Browse the repository at this point in the history
  • Loading branch information
netikular committed Apr 18, 2024
1 parent e2f7eec commit 2bb0b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dato_cms_graphql/rails/routing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def self.draw_routes(base_class)
controller = query.plural_name.underscore

if query.route.blank?
root "#{controller}#show"
next
else
get(
query.route,
Expand Down

0 comments on commit 2bb0b16

Please sign in to comment.