From f2602e79306f348eb6c8b2a3e9b852c0cd6ee0d8 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 10 Dec 2024 17:50:25 -0500 Subject: Added convenience link for editing published blog posts --- app/views/blogs/show.html.haml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views/blogs/show.html.haml') diff --git a/app/views/blogs/show.html.haml b/app/views/blogs/show.html.haml index 7558257..32d44bd 100644 --- a/app/views/blogs/show.html.haml +++ b/app/views/blogs/show.html.haml @@ -6,3 +6,5 @@ .clear = render @blog, short: false = show_comments(@blog) +- content_for :meta_sidebar_content do + = link_to "Edit this post", edit_admin_blog_url(@blog.id) -- cgit 1.4.1