From 90032f7bf850a728ef8d6c599845145b8c8a95b8 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 12 May 2025 15:06:32 -0400 Subject: Fixed stream update edit link --- app/views/updates/_update.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/views/updates/_update.html.haml b/app/views/updates/_update.html.haml index 3647ca2..ceb7d8f 100644 --- a/app/views/updates/_update.html.haml +++ b/app/views/updates/_update.html.haml @@ -2,5 +2,5 @@ %header.update-posted %time= update.created_at.strftime("%B #{update.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") - if user_signed_in? and !update.new_record? - = link_to "Edit", edit_admin_stream_update_path(update.stream, update), :class => "update-edit-link" + = link_to "Edit", edit_admin_stream_update_path(update.stream.id, update), :class => "update-edit-link" = markdown(update.body) -- cgit 1.4.1