summaryrefslogtreecommitdiff
path: root/users/app/views/sessions
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-10-31 10:40:51 +0100
committerAzul <azul@leap.se>2012-10-31 10:40:51 +0100
commitb92d418ebec6486a9e728c57f38f82d4c3343341 (patch)
treecfffa47b752080f6d56e52ff450c93e9b970d923 /users/app/views/sessions
parent5acc88d8a376b2e25e5230d8174667106754c786 (diff)
using json template for rendering the warden failures
Diffstat (limited to 'users/app/views/sessions')
-rw-r--r--users/app/views/sessions/new.json.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/users/app/views/sessions/new.json.erb b/users/app/views/sessions/new.json.erb
new file mode 100644
index 0000000..36154b8
--- /dev/null
+++ b/users/app/views/sessions/new.json.erb
@@ -0,0 +1,3 @@
+{
+"errors": <%= raw @errors.to_json %>
+}