canvas-lms/app
Simon Williams 64464bb39f querying enrollments_api#show with invalid account returns 404
we may eventually want to support querying by subaccount, but for now we
want to fix an error where the user got a template error instead of
a 404.

fixes CNVS-26628

test plan:
- create a course in a subaccount
- create an enrollment and note the id
- query /api/v1/accounts/:sub_account_id/enrollments/:id
- you should get a 404

Change-Id: I3c453d32152df6339df020d38025338cd4981039
Reviewed-on: https://gerrit.instructure.com/70635
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2016-01-21 15:49:54 +00:00
..
coffeescripts change require to define 2016-01-19 23:32:10 +00:00
controllers querying enrollments_api#show with invalid account returns 404 2016-01-21 15:49:54 +00:00
helpers load custom css/js for high contrast in newUI 2016-01-20 20:56:39 +00:00
jsx load custom css/js for high contrast in newUI 2016-01-20 20:56:39 +00:00
messages link to specific group in new group notification 2016-01-13 21:58:09 +00:00
middleware move request_throttle code to app/middleware 2016-01-14 23:11:19 +00:00
models handle underscores in tool launch urls and domain field 2016-01-20 22:38:15 +00:00
observers added live events for assignments and submissions 2015-12-18 21:41:50 +00:00
presenters Redesign the To-Do, Coming Up, and Recent Feedback lists 2016-01-19 19:52:16 +00:00
serializers Add an icon to quickly toggle post to SIS setting 2015-12-15 18:17:59 +00:00
stylesheets fix gradebook KO hidden warning (make blue for consistency) 2016-01-21 15:00:21 +00:00
views load custom css/js for high contrast in newUI 2016-01-20 20:56:39 +00:00