From 67b18d16f24d2a5855895518157e0510b48e66e9 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 2 Aug 2020 19:24:30 -0400 Subject: [PATCH] Change page edit Back link --- lib/wiki_web/templates/page/edit.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wiki_web/templates/page/edit.html.eex b/lib/wiki_web/templates/page/edit.html.eex index 5df4f01..e25db71 100644 --- a/lib/wiki_web/templates/page/edit.html.eex +++ b/lib/wiki_web/templates/page/edit.html.eex @@ -33,4 +33,4 @@ <%= submit "Upload" %> <% end %> -<%= link "Back", to: Routes.page_path(@conn, :index) %> +<%= link "Back", to: Routes.page_path(@conn, :show, @page.id) %>