3235: Don't blow up when calling 404 from ActionsController.
authorTom Clegg <tom@curoverse.com>
Tue, 29 Jul 2014 23:19:02 +0000 (19:19 -0400)
committerTom Clegg <tom@curoverse.com>
Tue, 29 Jul 2014 23:19:02 +0000 (19:19 -0400)
commitd82f1a45af0702c68b6bf93b887a8c94c078ce4d
tree5558889933bd4410dc6e1866e09e34bc730a5894
parent08c991e7ce24f6424b0916dec3d6077e56ffcdba
3235: Don't blow up when calling 404 from ActionsController.

Before:

  At .../app/views/application/404.html.erb:17
  #<ActionController::UrlGenerationError: No route matches {:action=>"index", :controller=>"actions"}>

After:

  Use the class_name deduced from the uuid to determine the most
  likely controller, instead of assuming the current controller is the
  right one.
apps/workbench/app/views/application/404.html.erb