diff --git a/app/controllers/concerns/.keep b/app/controllers/concerns/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/app/controllers/concerns/dossier_concern.rb b/app/controllers/concerns/dossier_concern.rb deleted file mode 100644 index 3b51cd26a..000000000 --- a/app/controllers/concerns/dossier_concern.rb +++ /dev/null @@ -1,5 +0,0 @@ -module DossierConcern - def current_dossier - Dossier.find(params[:dossier_id]) - end -end diff --git a/app/controllers/dossiers_controller.rb b/app/controllers/dossiers_controller.rb deleted file mode 100644 index 27bb6fd03..000000000 --- a/app/controllers/dossiers_controller.rb +++ /dev/null @@ -1,3 +0,0 @@ -class DossiersController < ApplicationController - -end diff --git a/app/controllers/users/carte_controller.rb b/app/controllers/users/carte_controller.rb index 9254a07b2..8bebb307e 100644 --- a/app/controllers/users/carte_controller.rb +++ b/app/controllers/users/carte_controller.rb @@ -1,5 +1,4 @@ class Users::CarteController < UsersController - include DossierConcern before_action only: [:show] do authorized_routes? self.class diff --git a/spec/controllers/dossiers_controller_spec.rb b/spec/controllers/dossiers_controller_spec.rb deleted file mode 100644 index 1d5dc0ca7..000000000 --- a/spec/controllers/dossiers_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'spec_helper' - -describe DossiersController, type: :controller do - -end