-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #6971,bz1085417 - api handle nonexistent id
In capsule and product APIs, the show action for a nonexistant id fails to give a proper 404. for example /api/products/123123 where product 123132 does not exist product gives 500 no resource loaded capsule gives protected method `resource_name' called for
- Loading branch information
Dustin Tsang
committed
Aug 11, 2014
1 parent
71d9d2b
commit 5a6d9ca
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters