include store_location_extension for all controllers

This commit is contained in:
Christophe Robillard 2020-03-18 16:05:04 +01:00
parent 884de51b94
commit 775cc11d30
3 changed files with 1 additions and 3 deletions

View file

@ -1,6 +1,7 @@
class ApplicationController < ActionController::Base
include TrustedDeviceConcern
include Pundit
include Devise::StoreLocationExtension
MAINTENANCE_MESSAGE = 'Le site est actuellement en maintenance. Il sera à nouveau disponible dans un court instant.'

View file

@ -1,6 +1,4 @@
class InvitesController < ApplicationController
include Devise::StoreLocationExtension
before_action :authenticate_user!, only: [:create]
before_action :store_user_location!, only: [:show]

View file

@ -1,6 +1,5 @@
module Users
class DossiersController < UserController
include Devise::StoreLocationExtension
include DossierHelper
layout 'procedure_context', only: [:identite, :update_identite, :siret, :update_siret]