An HttpErrorHandler that responds with an AjaxResponse for ajax requests and a full server-rendered page for non-ajax requests.
Keys into Play's flash scope.
Keys into Play's flash scope.
https://www.playframework.com/documentation/2.5.x/ScalaSessionFlash
Twirl wrappers around ScalaTags views.
An HttpErrorHandler that responds with an AjaxResponse for ajax requests and a full server-rendered page for non-ajax requests.
https://www.playframework.com/documentation/2.5.x/ScalaErrorHandling