2891: Workbench renders login exceptions earlier.
authorBrett Smith <brett@curoverse.com>
Fri, 27 Jun 2014 18:30:38 +0000 (14:30 -0400)
committerBrett Smith <brett@curoverse.com>
Mon, 30 Jun 2014 19:08:23 +0000 (15:08 -0400)
commit07c31b9a40457a0ef0f9aa5dd9fb63e405215ec3
tree34b282cf534b3d1130a27857f081b737879d821f
parente34bc76fa1f721aaeb494b31e361ece19cbfaa1b
2891: Workbench renders login exceptions earlier.

These changes are designed to ensure that if there are any problems
getting information from the current API token (other than expected
401 Unauthorized responses), those problems are raised early and
propagated up to the exception handler.  This helps better ensure that
thread state is consistent when we get to later stages of request
processing.
apps/workbench/app/controllers/application_controller.rb
apps/workbench/app/controllers/collections_controller.rb
apps/workbench/app/views/layouts/application.html.erb
apps/workbench/test/functional/users_controller_test.rb