about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-27 23:31:25 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commit1ab60fea4831855657e666db6ef00ec7efe0f970 (patch)
tree16b53036d1ddb955e254e75ff2ca1b4532c5ee53 /config
parented9c8f67c4ea7985e2a29e65e352694b9d52ecdc (diff)
Split boosts/repeats off to their own tab and add to the API.
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml4
-rw-r--r--config/routes.rb1
2 files changed, 5 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 72c9379c3..e7d596885 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -61,7 +61,11 @@ en:
     posts:
       one: Roar
       other: Roars
+    reblogs:
+      one: Repeat
+      other: Repeats
     posts_tab_heading: Roars
+    reblogs_tab_heading: Repeats
     posts_with_replies: Roars & growls
     reserved_username: The creaturename is reserved
     roles:
diff --git a/config/routes.rb b/config/routes.rb
index 5614a7cdc..83ef69f15 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -77,6 +77,7 @@ Rails.application.routes.draw do
   get '/@:username', to: 'accounts#show', as: :short_account
   get '/@:username/with_replies', to: 'accounts#show', as: :short_account_with_replies
   get '/@:username/media', to: 'accounts#show', as: :short_account_media
+  get '/@:username/reblogs', to: 'accounts#show', as: :short_account_reblogs
   get '/@:username/tagged/:tag', to: 'accounts#show', as: :short_account_tag
   get '/@:account_username/:id', to: 'statuses#show', as: :short_account_status
   get '/@:account_username/:id/embed', to: 'statuses#embed', as: :embed_short_account_status