Skip to content

Bounty #459 - Fix #263

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

Merged
merged 1 commit into from
Dec 14, 2014
Merged

Conversation

jakegavin
Copy link
Contributor

https://assembly.com/coderwall/bounties/459

Before, the TeamsController would set @job_page to true if there was anything in params[:job_id]. This caused problems because if a job id that didn't actually match anything in the database, the template would still try to call methods on @job even though it was nil.

This PR changes it so that @job_page is based on whether or not a job was found and loaded, rather than just the presence of show_params[:job_id]

just3ws added a commit that referenced this pull request Dec 14, 2014
@just3ws just3ws merged commit 71a0a2d into coderwall:master Dec 14, 2014
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.

2 participants