Only generate tagged filenames for URLs on post show pages (#3597).

Don't generate tagged filenames for urls in the data attributes on
thumbnails, or in the /posts.json api.
This commit is contained in:
evazion
2018-04-05 14:03:41 -05:00
parent 14977397fb
commit 084fcd91ed
10 changed files with 28 additions and 19 deletions

View File

@@ -1 +1 @@
<p><%= link_to "Save this file (right click and save)", post.file_url %></p>
<p><%= link_to "Save this file (right click and save)", post.tagged_file_url %></p>