diff options
author | Azul <azul@leap.se> | 2012-10-31 10:40:51 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-10-31 10:40:51 +0100 |
commit | b92d418ebec6486a9e728c57f38f82d4c3343341 (patch) | |
tree | cfffa47b752080f6d56e52ff450c93e9b970d923 /users | |
parent | 5acc88d8a376b2e25e5230d8174667106754c786 (diff) |
using json template for rendering the warden failures
Diffstat (limited to 'users')
-rw-r--r-- | users/app/views/sessions/new.json.erb | 3 |
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 %> +} |