Remove .html from HAML views paths (except layout)
This commit is contained in:
14
app/views/sessions/new.haml
Normal file
14
app/views/sessions/new.haml
Normal file
@@ -0,0 +1,14 @@
|
||||
= form_for :session, url: sessions_path do |f|
|
||||
%table
|
||||
%tbody
|
||||
%tr
|
||||
%th= f.label :email
|
||||
%td= f.text_field :email
|
||||
%tr
|
||||
%th= f.label :password
|
||||
%td= f.password_field :password
|
||||
%tfoot
|
||||
%tr
|
||||
%td= f.submit 'Sign in'
|
||||
|
||||
= link_to 'Sign up', new_user_path
|
||||
Reference in New Issue
Block a user