Cleanup application_controller and current_user

This commit is contained in:
Paul Chavard 2019-09-17 11:01:20 +02:00
parent 88842918f9
commit adfa80142a
6 changed files with 26 additions and 39 deletions

View file

@ -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

View file

@ -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