Merge pull request #3032 from betagouv/fix-110
[Fix #110] Remove any reference left to facades
This commit is contained in:
commit
633c30ed60
2 changed files with 1 additions and 5 deletions
|
@ -30,7 +30,6 @@ class ApplicationController < ActionController::Base
|
||||||
service = RenderPartialService.new(controller, method)
|
service = RenderPartialService.new(controller, method)
|
||||||
@navbar_url = service.navbar
|
@navbar_url = service.navbar
|
||||||
@left_pannel_url = service.left_panel
|
@left_pannel_url = service.left_panel
|
||||||
@facade_data_view = nil
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def logged_in?
|
def logged_in?
|
||||||
|
|
|
@ -9,7 +9,4 @@
|
||||||
\-
|
\-
|
||||||
= link_to 'CGU / Mentions légales', CGU_URL
|
= link_to 'CGU / Mentions légales', CGU_URL
|
||||||
\-
|
\-
|
||||||
- if @facade.present? && @facade.respond_to?(:dossier)
|
= contact_link 'Contact'
|
||||||
= contact_link 'Contact', dossier_id: @facade.dossier&.id
|
|
||||||
- else
|
|
||||||
= contact_link 'Contact'
|
|
||||||
|
|
Loading…
Reference in a new issue