Skip to content

Commit b4e7afa

Browse files
committed
Added a link to main app
Used almost the same styles ah footer links.
1 parent 2ba4fd2 commit b4e7afa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/views/layouts/solid_errors/application.html.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
</head>
1010
<body class="h-full flex flex-col pb-4">
1111
<main class="grow container mx-auto mt-4">
12+
<% if defined?(main_app.root_path) %>
13+
<%= link_to "< Back to main app", main_app.root_path, class: "text-sm text-blue-500 hover:underline decoration-blue-500" %>
14+
<% end %>
1215
<%= content_for?(:content) ? yield(:content) : yield %>
1316
</main>
1417

0 commit comments

Comments
 (0)