0
0
Fork 0

Pinned statuses (#4675)

* Pinned statuses

* yarn manage:translations
This commit is contained in:
Eugen Rochko 2017-08-25 01:41:18 +02:00 committed by GitHub
parent c5157ef07b
commit 9caa90025f
59 changed files with 493 additions and 29 deletions

View file

@ -162,6 +162,9 @@ Rails.application.routes.draw do
resource :mute, only: :create
post :unmute, to: 'mutes#destroy'
resource :pin, only: :create
post :unpin, to: 'pins#destroy'
end
member do
@ -175,7 +178,8 @@ Rails.application.routes.draw do
resource :public, only: :show, controller: :public
resources :tag, only: :show
end
resources :streaming, only: [:index]
resources :streaming, only: [:index]
get '/search', to: 'search#index', as: :search
@ -210,6 +214,7 @@ Rails.application.routes.draw do
resource :search, only: :show, controller: :search
resources :relationships, only: :index
end
resources :accounts, only: [:show] do
resources :statuses, only: :index, controller: 'accounts/statuses'
resources :followers, only: :index, controller: 'accounts/follower_accounts'
@ -245,7 +250,7 @@ Rails.application.routes.draw do
root 'home#index'
match '*unmatched_route',
via: :all,
to: 'application#raise_not_found',
format: false
via: :all,
to: 'application#raise_not_found',
format: false
end