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) %>