From db8e5524db15e19c16b63943ada83b3ac7b75ec6 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sat, 15 Aug 2020 03:26:55 -0500 Subject: [Profiles] Add category filters --- config/locales/en-MP.yml | 7 +++++-- config/routes.rb | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/locales/en-MP.yml b/config/locales/en-MP.yml index be4be53e2..481c299e5 100644 --- a/config/locales/en-MP.yml +++ b/config/locales/en-MP.yml @@ -18,8 +18,11 @@ en-MP: posts: one: Roar other: Roars - posts_tab_heading: Roars - posts_with_replies: Roars & Growls + posts_tab_heading: Blog + posts_with_replies: Replies + reblogs: Boosts + threads: Threads + mentions: Mentions admin: accounts: search_same_email_domain: Other creatures with the same e-mail domain diff --git a/config/routes.rb b/config/routes.rb index 4702e766b..cdfb4a77a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -89,8 +89,11 @@ Rails.application.routes.draw do resource :inbox, only: [:create], module: :activitypub get '/@:username', to: 'accounts#show', as: :short_account + get '/@:username/threads', to: 'accounts#show', as: :short_account_threads 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/mentions', to: 'accounts#show', as: :short_account_mentions 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