about summary refs log tree commit diff stats
path: root/app
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-05-12 15:06:32 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-05-12 15:06:32 -0400
commit90032f7bf850a728ef8d6c599845145b8c8a95b8 (patch)
treef9bbc5fb331ae0ecbe3ac4c8ee670357414781f0 /app
parentfd8d8bae54d501a9aabe4a9251653e8b41970844 (diff)
downloadthoughts-90032f7bf850a728ef8d6c599845145b8c8a95b8.tar.gz
thoughts-90032f7bf850a728ef8d6c599845145b8c8a95b8.tar.bz2
thoughts-90032f7bf850a728ef8d6c599845145b8c8a95b8.zip
Fixed stream update edit link
Diffstat (limited to 'app')
-rw-r--r--app/views/updates/_update.html.haml2
1 files changed, 1 insertions, 1 deletions
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 @@
2 %header.update-posted 2 %header.update-posted
3 %time= update.created_at.strftime("%B #{update.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") 3 %time= update.created_at.strftime("%B #{update.created_at.day.ordinalize}, %Y at %-I:%M:%S%P")
4 - if user_signed_in? and !update.new_record? 4 - if user_signed_in? and !update.new_record?
5 = link_to "Edit", edit_admin_stream_update_path(update.stream, update), :class => "update-edit-link" 5 = link_to "Edit", edit_admin_stream_update_path(update.stream.id, update), :class => "update-edit-link"
6 = markdown(update.body) 6 = markdown(update.body)