From b4e7afa5208fdf2c66d19489d8e63fdc7774a00d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Barnab=C3=A9?= <55020167+BarnabeD@users.noreply.github.com>
Date: Wed, 16 Jul 2025 10:20:51 +0200
Subject: [PATCH 1/2] Added a link to main app
Used almost the same styles ah footer links.
---
app/views/layouts/solid_errors/application.html.erb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app/views/layouts/solid_errors/application.html.erb b/app/views/layouts/solid_errors/application.html.erb
index 1c353bc..3c614fd 100644
--- a/app/views/layouts/solid_errors/application.html.erb
+++ b/app/views/layouts/solid_errors/application.html.erb
@@ -9,6 +9,9 @@
+ <% if defined?(main_app.root_path) %>
+ <%= link_to "< Back to main app", main_app.root_path, class: "text-sm text-blue-500 hover:underline decoration-blue-500" %>
+ <% end %>
<%= content_for?(:content) ? yield(:content) : yield %>
From 0172e6b1c628aef976f34d7d881587c436421def Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Barnab=C3=A9?= <55020167+BarnabeD@users.noreply.github.com>
Date: Wed, 16 Jul 2025 12:27:41 +0200
Subject: [PATCH 2/2] Update
app/views/layouts/solid_errors/application.html.erb
Co-authored-by: Stephen Margheim
---
app/views/layouts/solid_errors/application.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/layouts/solid_errors/application.html.erb b/app/views/layouts/solid_errors/application.html.erb
index 3c614fd..b7fddbf 100644
--- a/app/views/layouts/solid_errors/application.html.erb
+++ b/app/views/layouts/solid_errors/application.html.erb
@@ -10,7 +10,7 @@
<% if defined?(main_app.root_path) %>
- <%= link_to "< Back to main app", main_app.root_path, class: "text-sm text-blue-500 hover:underline decoration-blue-500" %>
+ <%= link_to "← Back to main app", main_app.root_path, class: "text-sm text-blue-500 hover:underline decoration-blue-500" %>
<% end %>
<%= content_for?(:content) ? yield(:content) : yield %>