Cleanup application_controller and current_user
This commit is contained in:
parent
88842918f9
commit
adfa80142a
6 changed files with 26 additions and 39 deletions
|
@ -16,7 +16,7 @@
|
|||
\.
|
||||
|
||||
= form_tag contact_path, method: :post, class: 'form' do |f|
|
||||
- if !logged_in?
|
||||
- if !user_signed_in?
|
||||
.contact-champ
|
||||
= label_tag :email do
|
||||
Adresse email professionnelle
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
Pensez bien à nous donner le plus d'informations possible pour que nous puissions vous aider au mieux
|
||||
|
||||
= form_tag contact_path, method: :post, multipart: true, class: 'form' do |f|
|
||||
- if !logged_in?
|
||||
- if !user_signed_in?
|
||||
.contact-champ
|
||||
= label_tag :email do
|
||||
Email
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue