Suppression de la gestion authentification dans controller principal
This commit is contained in:
parent
e32e58a58a
commit
cfc1b427ff
@ -2,6 +2,4 @@ class ApplicationController < ActionController::Base
|
|||||||
# Prevent CSRF attacks by raising an exception.
|
# Prevent CSRF attacks by raising an exception.
|
||||||
# For APIs, you may want to use :null_session instead.
|
# For APIs, you may want to use :null_session instead.
|
||||||
protect_from_forgery with: :exception
|
protect_from_forgery with: :exception
|
||||||
|
|
||||||
#before_action :authenticate_admin_user!
|
|
||||||
end
|
end
|
||||||
|
@ -34,9 +34,6 @@
|
|||||||
|
|
||||||
%header.top
|
%header.top
|
||||||
%h1= link_to 'Agenda du libre', root_url
|
%h1= link_to 'Agenda du libre', root_url
|
||||||
//- if admin_user_signed_in?
|
|
||||||
//- else
|
|
||||||
// = link_to t('.login'), new_user_session_path, class: :login
|
|
||||||
|
|
||||||
= yield
|
= yield
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user