Skip to content
Snippets Groups Projects
Commit 2fb26b9d authored by Arnaud Levy's avatar Arnaud Levy
Browse files

authenticate extranets

parent ae67c6a0
No related branches found
No related tags found
No related merge requests found
class Admin::ApplicationController < ApplicationController
layout 'admin/layouts/application'
before_action :authenticate_user!
around_action :switch_locale
protected
......
......@@ -2,6 +2,7 @@ class ApplicationController < ActionController::Base
include WithErrors
include WithLocale
include WithDomain
before_action :authenticate_user!
def breadcrumb
add_breadcrumb t('home'), root_path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment