From 79b88857b61f6171ab0720035d8c792f61d30d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=20Mar=C3=ADa=20Mart=C3=ADnez=20G=C3=B3mez?= Date: Mon, 29 Apr 2019 15:21:16 +0200 Subject: [PATCH] Fix xml views Adding the html extension to application.haml avoid that the code is used in the xml views. Fixes https://github.com/openSUSE/osem/issues/2497 --- .haml-lint_todo.yml | 8 ++++---- .../layouts/{application.haml => application.html.haml} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename app/views/layouts/{application.haml => application.html.haml} (100%) diff --git a/.haml-lint_todo.yml b/.haml-lint_todo.yml index a6dfa7c2..a5e7f8bd 100644 --- a/.haml-lint_todo.yml +++ b/.haml-lint_todo.yml @@ -208,7 +208,7 @@ linters: - "app/views/layouts/_messages.html.haml" - "app/views/layouts/_navigation.html.haml" - "app/views/layouts/_user_menu.html.haml" - - "app/views/layouts/application.haml" + - "app/views/layouts/application.html.haml" - "app/views/organizations/index.html.haml" - "app/views/payments/_payment.html.haml" - "app/views/payments/new.html.haml" @@ -437,7 +437,7 @@ linters: - "app/views/layouts/_messages.html.haml" - "app/views/layouts/_navigation.html.haml" - "app/views/layouts/_user_menu.html.haml" - - "app/views/layouts/application.haml" + - "app/views/layouts/application.html.haml" - "app/views/organizations/index.html.haml" - "app/views/payments/_payment.html.haml" - "app/views/proposals/_form.html.haml" @@ -540,7 +540,7 @@ linters: - "app/views/layouts/_admin_sidebar_index.html.haml" - "app/views/layouts/_messages.html.haml" - "app/views/layouts/_navigation.html.haml" - - "app/views/layouts/application.haml" + - "app/views/layouts/application.html.haml" - "app/views/payments/_payment.html.haml" - "app/views/proposals/_form.html.haml" - "app/views/proposals/_tooltip.html.haml" @@ -589,7 +589,7 @@ linters: - "app/views/layouts/_admin.html.haml" - "app/views/layouts/_navigation.html.haml" - "app/views/layouts/_user_menu.html.haml" - - "app/views/layouts/application.haml" + - "app/views/layouts/application.html.haml" - "app/views/proposals/_encouragement_text.html.haml" - "app/views/proposals/new.html.haml" - "app/views/proposals/registrations.html.haml" diff --git a/app/views/layouts/application.haml b/app/views/layouts/application.html.haml similarity index 100% rename from app/views/layouts/application.haml rename to app/views/layouts/application.html.haml