Skip to content

Use the class itself in the route generator instead of a string representation#236

Merged
00dav00 merged 1 commit intographql-devise:masterfrom
whotwagner:bugfix-brokenroute
Aug 15, 2022
Merged

Use the class itself in the route generator instead of a string representation#236
00dav00 merged 1 commit intographql-devise:masterfrom
whotwagner:bugfix-brokenroute

Conversation

@whotwagner
Copy link
Copy Markdown

The generator creates the model class as a string in config/routes.rb.
This commit modifies the generator so that the model is used as a class in
config/routes.rb.

This PR fixes #235

The generator creates the model class as a string in config/routes.rb.
This commit modifies the generator so that the model is a class no in
config/routes.rb.
@mcelicalderon mcelicalderon added the bug Something isn't working label Aug 15, 2022
@00dav00 00dav00 changed the title Fix broken route Fix generator using class as name instead of the class itself Aug 15, 2022
@00dav00 00dav00 changed the title Fix generator using class as name instead of the class itself Use the class itself in the route generator instead of a string representation Aug 15, 2022
@00dav00 00dav00 merged commit f4c20a1 into graphql-devise:master Aug 15, 2022
@00dav00
Copy link
Copy Markdown
Contributor

00dav00 commented Aug 15, 2022

Thanks @whotwagner !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A class must be provided when mounting a model. String values are no longer supported

3 participants