daisy / pipeline-webui

A Web User Interface for the DAISY Pipeline 2
Other
3 stars 2 forks source link

Only use "flashing" when redirecting #57

Open josteinaj opened 8 years ago

josteinaj commented 8 years ago

I'm getting a flood of these warnings when running the Web UI.

[warn] - play - You are using status code '200' with flashing, which should only be used with a redirect status!

So... I guess the Web UI shouldn't use flashing with status code 200 then...

Flashing is currently used to set the browserId, sending errors/success messages etc to the templates. The "proper" way of doing it is probably to send them as arguments to the templates instead.