From 4ce608dd5c26a553c4633c878f47d6ea56980815 Mon Sep 17 00:00:00 2001
From: echarp <manu@echarp.org>
Date: Fri, 2 Jun 2017 23:55:26 +0200
Subject: [PATCH] Silly bug blocking identication

---
 app/views/devise/sessions/new.html.haml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/views/devise/sessions/new.html.haml b/app/views/devise/sessions/new.html.haml
index 206a41973..846a45501 100644
--- a/app/views/devise/sessions/new.html.haml
+++ b/app/views/devise/sessions/new.html.haml
@@ -1,7 +1,8 @@
 %h2= t '.title'
 
 %fieldset
-  = form_for resource, as: resource_name, url: session_path resource_name do |f|
+  = form_for resource, as: resource_name,
+    url: session_path(resource_name) do |f|
     .field.login
       = f.label :login
       = f.text_field :login, autofocus: true
-- 
GitLab