Suppression de la gestion authentification dans controller principal

This commit is contained in:
echarp 2013-11-26 22:15:13 +01:00
parent e32e58a58a
commit cfc1b427ff
2 changed files with 0 additions and 5 deletions

View File

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

View File

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