Permalink
Browse files

🐞 Fix redirect to post URL from note

  • Loading branch information...
adamdawkins committed Jan 21, 2019
1 parent e2712c5 commit f5e4ed6aeadb71b186dccdc3e33d72b9868f7b80
Showing with 1 addition and 1 deletion.
  1. +1 βˆ’1 app/views/notes/_note.html.erb
@@ -1,6 +1,6 @@
<article class="h-entry note">
<% if note.published? %>
<%= link_to long_note_path(note.params), class: "u-url quiet" do %>
<%= link_to long_post_path(note.params), class: "u-url quiet" do %>
<time class="block-time dt-published" datetime="<%= note.published_at.strftime('%Y-%m-%dT%H:%M:%S.%L%z') %>">
<% if note.published_at.today? %>
<%= time_ago_in_words(note.published_at) %> ago

0 comments on commit f5e4ed6

Please sign in to comment.