diff options
author | Shel R <Yiskah.Raphen@gmail.com> | 2017-04-07 22:47:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-07 22:47:42 -0400 |
commit | d6827e38a6cc7f4639991384f097f37254de15be (patch) | |
tree | de5e1e93826fe049e0690e3ccb4ccdb3c1d20152 /app/helpers | |
parent | 0c4e9fdda051d0322608c9abdaa158529c8feacd (diff) | |
parent | 29ed4484458fc62b423eeaef772ca0d67b27c4e4 (diff) |
Merge branch 'master' into patch-4
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/settings_helper.rb | 1 | ||||
-rw-r--r-- | app/helpers/stream_entries_helper.rb | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb index e01f7d0cc..74dc0e11d 100644 --- a/app/helpers/settings_helper.rb +++ b/app/helpers/settings_helper.rb @@ -11,6 +11,7 @@ module SettingsHelper uk: 'Українська', 'zh-CN': '简体中文', fi: 'Suomi', + eo: 'Esperanto', }.freeze def human_locale(locale) diff --git a/app/helpers/stream_entries_helper.rb b/app/helpers/stream_entries_helper.rb index a26e912a3..38e63ed8d 100644 --- a/app/helpers/stream_entries_helper.rb +++ b/app/helpers/stream_entries_helper.rb @@ -34,10 +34,6 @@ module StreamEntriesHelper user_signed_in? && @favourited.key?(status.id) ? 'favourited' : '' end - def proper_status(status) - status.reblog? ? status.reblog : status - end - def rtl?(text) return false if text.empty? |