diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-02 18:03:37 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-07-03 14:01:41 -0400 |
commit | 49b11f2864f75bcfb8d0d01439939ed68aa90b8f (patch) | |
tree | c91d0976e9cb54562aa2c19f9648235d74f14cbf /app/views | |
parent | cb01d13034ad41a29533b623cbbf7c23b37a231c (diff) | |
download | thoughts-49b11f2864f75bcfb8d0d01439939ed68aa90b8f.tar.gz thoughts-49b11f2864f75bcfb8d0d01439939ed68aa90b8f.tar.bz2 thoughts-49b11f2864f75bcfb8d0d01439939ed68aa90b8f.zip |
Collapsed Entry -> Blog single-table inheritance to Blog
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/blogs/show.html.haml (renamed from app/views/entries/show.html.haml) | 2 | ||||
-rw-r--r-- | app/views/records/index.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/entries/show.html.haml b/app/views/blogs/show.html.haml index 3a9337c..51d4aa0 100644 --- a/app/views/entries/show.html.haml +++ b/app/views/blogs/show.html.haml | |||
@@ -1,2 +1,2 @@ | |||
1 | .breadcrumb= link_to "← Back to home page", root_path | 1 | .breadcrumb= link_to "← Back to home page", root_path |
2 | = render @entry | 2 | = render @blog |
diff --git a/app/views/records/index.html.haml b/app/views/records/index.html.haml index 3850d72..200321e 100644 --- a/app/views/records/index.html.haml +++ b/app/views/records/index.html.haml | |||
@@ -4,4 +4,4 @@ | |||
4 | %span.description= link_to record.description, record.recordable.path | 4 | %span.description= link_to record.description, record.recordable.path |
5 | %ul.tags | 5 | %ul.tags |
6 | %li.record-date= record.created_at.strftime("%m.%d.%y") | 6 | %li.record-date= record.created_at.strftime("%m.%d.%y") |
7 | %li.entry-type{ class: "entry-type-#{record.recordable.type.downcase}" }= record.recordable.type | 7 | %li.entry-type{ class: "entry-type-#{record.recordable_type.downcase}" }= record.recordable_type |