diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-05-12 15:29:36 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-05-12 15:29:36 -0400 |
commit | 4425d03ce99f6c4085961b3390fd382076699031 (patch) | |
tree | c8a3cbeb24505a95f4b17993d63fd2a27f1cafc6 /app | |
parent | c2cfdb29e5530c46bffda39204adb29a247b6f52 (diff) | |
download | thoughts-4425d03ce99f6c4085961b3390fd382076699031.tar.gz thoughts-4425d03ce99f6c4085961b3390fd382076699031.tar.bz2 thoughts-4425d03ce99f6c4085961b3390fd382076699031.zip |
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/streams/edit.html.haml | 2 | ||||
-rw-r--r-- | app/views/admin/streams/index.html.haml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/streams/edit.html.haml b/app/views/admin/streams/edit.html.haml index 8d910fe..8c250e2 100644 --- a/app/views/admin/streams/edit.html.haml +++ b/app/views/admin/streams/edit.html.haml | |||
@@ -1,3 +1,3 @@ | |||
1 | - title "Editing #{@stream.title}" | 1 | - title "Editing #{@stream.title}" |
2 | = form_for @stream, url: admin_stream_url(@stream), html: { id: "entry-form" } do |f| | 2 | = form_for @stream, url: admin_stream_url(@stream.id), html: { id: "entry-form" } do |f| |
3 | = render partial: "form", locals: { f: f } | 3 | = render partial: "form", locals: { f: f } |
diff --git a/app/views/admin/streams/index.html.haml b/app/views/admin/streams/index.html.haml index 6903fd1..a2a25d7 100644 --- a/app/views/admin/streams/index.html.haml +++ b/app/views/admin/streams/index.html.haml | |||
@@ -10,5 +10,5 @@ | |||
10 | %td= stream.created_at.strftime("%B %d, %Y, %l:%M%P") | 10 | %td= stream.created_at.strftime("%B %d, %Y, %l:%M%P") |
11 | %td | 11 | %td |
12 | %ul.admin-actions | 12 | %ul.admin-actions |
13 | %li= link_to "Edit", edit_admin_stream_url(stream) | 13 | %li= link_to "Edit", edit_admin_stream_url(stream.id) |
14 | %li= link_to "Add Update", new_admin_stream_update_url(stream) | 14 | %li= link_to "Add Update", new_admin_stream_update_url(stream.id) |