diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 13dcade3..d83690e1 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -2,6 +2,4 @@ class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception - - #before_action :authenticate_admin_user! end diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 7271f62e..437b397a 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -34,9 +34,6 @@ %header.top %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