Merge pull request #3032 from betagouv/fix-110

[Fix #110] Remove any reference left to facades
This commit is contained in:
gregoirenovel 2018-11-22 11:31:38 +01:00 committed by GitHub
commit 633c30ed60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View file

@ -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?

View file

@ -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', dossier_id: @facade.dossier&.id
- else
= contact_link 'Contact' = contact_link 'Contact'