diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-08-30 10:23:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 10:23:43 +0200 |
commit | e95bdec7c5da63930fc2e08e67e4358fec19296d (patch) | |
tree | e586a3f4de5730387d33bf7108bce1b00a761595 /app/helpers | |
parent | fcca31350d05064a117c5f1c1b014875dc12afd3 (diff) |
Update status embeds (#4742)
- Use statuses controller for embeds instead of stream entries controller - Prefer /@:username/:id/embed URL for embeds - Use /@:username as author_url in OEmbed - Add follow link to embeds which opens web intent in new window - Use redis cache in development - Cache entire embed
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/stream_entries_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/stream_entries_helper.rb b/app/helpers/stream_entries_helper.rb index 4ef7cffb0..445114985 100644 --- a/app/helpers/stream_entries_helper.rb +++ b/app/helpers/stream_entries_helper.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module StreamEntriesHelper - EMBEDDED_CONTROLLER = 'stream_entries' + EMBEDDED_CONTROLLER = 'statuses' EMBEDDED_ACTION = 'embed' def display_name(account) |