include store_location_extension for all controllers
This commit is contained in:
parent
884de51b94
commit
775cc11d30
3 changed files with 1 additions and 3 deletions
|
@ -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.'
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
class InvitesController < ApplicationController
|
||||
include Devise::StoreLocationExtension
|
||||
|
||||
before_action :authenticate_user!, only: [:create]
|
||||
before_action :store_user_location!, only: [:show]
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
module Users
|
||||
class DossiersController < UserController
|
||||
include Devise::StoreLocationExtension
|
||||
include DossierHelper
|
||||
|
||||
layout 'procedure_context', only: [:identite, :update_identite, :siret, :update_siret]
|
||||
|
|
Loading…
Reference in a new issue