From 1ab60fea4831855657e666db6ef00ec7efe0f970 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sat, 27 Apr 2019 23:31:25 -0500 Subject: Split boosts/repeats off to their own tab and add to the API. --- config/locales/en.yml | 4 ++++ config/routes.rb | 1 + 2 files changed, 5 insertions(+) (limited to 'config') 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 -- cgit