Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure separate routes file for Dashboard Engine to fix doubly-loaded routes.rb #8

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

bensheldon
Copy link
Owner

Fixes problem described in #5 (review)

@@ -13,6 +13,7 @@ class Engine < ::Rails::Engine
module Dashboard
class Engine < ::Rails::Engine
isolate_namespace SpectatorSport::Dashboard
paths.add "config/routes.rb", with: "config/dashboard_routes.rb"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bensheldon bensheldon merged commit 7910984 into main Sep 29, 2024
2 checks passed
@bensheldon bensheldon deleted the engine-routes branch September 29, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant