rbCAS/CASino — pull request #41 by pencil (2014-04-17 08:51:38+00:00)
Title: Don't respond with 500 when an unsupported format is requested

When Rails receives a request for an unsupported format, a `ActionView::MissingTemplate` is thrown. This is why we catch the exception and set the status to 406 Not Acceptable instead of the default 500 Internal Server Error.

I was unable to find a better solution for this… :unamused: