diff --git a/app/views/announcements/show.html.erb b/app/views/announcements/show.html.erb new file mode 100644 --- /dev/null +++ b/app/views/announcements/show.html.erb @@ -0,0 +1,18 @@ +
+ Author: + <%=h @announcement.author %> +
+ ++ Body: + <%=h @announcement.body %> +
+ ++ Published: + <%=h @announcement.published %> +
+ + +<%= link_to 'Edit', edit_announcement_path(@announcement) %> | +<%= link_to 'Back', announcements_path %>