Remove a new useless helper
This commit is contained in:
parent
747992025b
commit
cac202342a
1 changed files with 0 additions and 6 deletions
|
@ -2,8 +2,6 @@ module NewUser
|
|||
class DossiersController < UserController
|
||||
include DossierHelper
|
||||
|
||||
helper_method :new_demarche_url
|
||||
|
||||
before_action :ensure_ownership!, except: [:index, :show, :demande, :messagerie, :brouillon, :update_brouillon, :modifier, :update, :recherche]
|
||||
before_action :ensure_ownership_or_invitation!, only: [:show, :demande, :messagerie, :brouillon, :update_brouillon, :modifier, :update, :create_commentaire]
|
||||
before_action :ensure_dossier_can_be_updated, only: [:update_identite, :update_brouillon, :modifier, :update]
|
||||
|
@ -177,10 +175,6 @@ module NewUser
|
|||
end
|
||||
end
|
||||
|
||||
def new_demarche_url
|
||||
"https://doc.demarches-simplifiees.fr/listes-des-demarches"
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def ensure_dossier_can_be_updated
|
||||
|
|
Loading…
Reference in a new issue