diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-04 11:46:13 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-04 11:46:13 -0400 |
commit | e11dedec034c4180985adf4a9f176b07121f0a41 (patch) | |
tree | 7f4320d562f37775cbc8ae390540da03a2d92d77 /app/views/blogs/show.html.haml | |
parent | d48adb741c5c30ba3f2d3c039a7e342b43add352 (diff) | |
download | thoughts-e11dedec034c4180985adf4a9f176b07121f0a41.tar.gz thoughts-e11dedec034c4180985adf4a9f176b07121f0a41.tar.bz2 thoughts-e11dedec034c4180985adf4a9f176b07121f0a41.zip |
Blog drafts no longer require slugs
They do still technically require titles, but the engine will fill in "Untitled draft" if it is left blank. Unpublished posts can be viewed at a different URL than published posts would be. Quick links to view published and unpublished posts have been added to the admin panel. refs #1
Diffstat (limited to 'app/views/blogs/show.html.haml')
-rw-r--r-- | app/views/blogs/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/blogs/show.html.haml b/app/views/blogs/show.html.haml index 48c07dc..8ab4523 100644 --- a/app/views/blogs/show.html.haml +++ b/app/views/blogs/show.html.haml | |||
@@ -3,4 +3,4 @@ | |||
3 | %footer#blog-footer | 3 | %footer#blog-footer |
4 | This entry was posted on | 4 | This entry was posted on |
5 | = succeed "." do | 5 | = succeed "." do |
6 | %time= @blog.posted_at.strftime("%B #{@blog.posted_at.day.ordinalize}, %Y at %-I:%M:%S%P") | 6 | %time= @blog.published_at.strftime("%B #{@blog.published_at.day.ordinalize}, %Y at %-I:%M:%S%P") |