Public profile endorsements (accounts picked by profile owner) (#8146)

This commit is contained in:
Eugen Rochko
2018-08-09 09:56:53 +02:00
committed by GitHub
parent 80176a3814
commit f2404de871
21 changed files with 298 additions and 6 deletions

View File

@ -39,6 +39,7 @@ en:
user_count_before: Home to
what_is_mastodon: What is Mastodon?
accounts:
choices_html: "%{name}'s choices:"
follow: Follow
followers: Followers
following: Following
@ -49,6 +50,8 @@ en:
nothing_here: There is nothing here!
people_followed_by: People whom %{name} follows
people_who_follow: People who follow %{name}
pin_errors:
following: You must be already following the person you want to endorse
posts: Toots
posts_with_replies: Toots and replies
reserved_username: The username is reserved

View File

@ -309,6 +309,9 @@ Rails.application.routes.draw do
post :mute
post :unmute
end
resource :pin, only: :create, controller: 'accounts/pins'
post :unpin, to: 'accounts/pins#destroy'
end
resources :lists, only: [:index, :create, :show, :update, :destroy] do