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

Section 2.3.5 Missing instructions on adding resource for prediction to routes.rb #10

Open
drwl opened this issue Aug 1, 2020 · 0 comments

Comments

@drwl
Copy link

drwl commented Aug 1, 2020

At the end of page 46, after adding all of the new prediction code, trying to view the app will fail because the new_prediction_path is not yet defined.

What's missing are instructions for adding the new resource to the component's routes.rb file.

https://github.com/shageman/component-based-rails-applications-book/blob/master/c2s03/sportsball/components/app_component/config/routes.rb#L5

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

No branches or pull requests

1 participant