-
Notifications
You must be signed in to change notification settings - Fork 25
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
Medal Distribution tool #521
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should also have tests.
@league = League.includes(:tiebreakers).find(params[:id]) | ||
end | ||
|
||
before_action only: [:medals] do | ||
@league = League.includes(:tiebreakers).find(params[:league_id]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the route change this shouldn't be needed. :medals
shouldn't be excepted from the previous before_action
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will need to learn to do that, but can. |
Tests prepared here: coreobs#3 |
Fix lint and add tests to ozfortress#521
Legend, thank you! |
No description provided.