From 5ef139a3aef76e8b93e4b89c979cf68a0c088d97 Mon Sep 17 00:00:00 2001 From: Nick Charlton Date: Fri, 12 Jul 2019 15:32:58 +0100 Subject: [PATCH] Add a "back" link to the navigation This solves half of #271 by implementing a link to take the user back to the main application. It's assumed that `root_url` without a namespace returns the main application's root. --- app/views/administrate/application/_navigation.html.erb | 2 ++ spec/features/navigation_spec.rb | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/app/views/administrate/application/_navigation.html.erb b/app/views/administrate/application/_navigation.html.erb index 3c8c16d2a3..2226bb0bf9 100644 --- a/app/views/administrate/application/_navigation.html.erb +++ b/app/views/administrate/application/_navigation.html.erb @@ -8,6 +8,8 @@ as defined by the routes in the `admin/` namespace %>