Updated /tags route to be after webapp in routes.rb
we render the /tags route from within the webapp, not the server render routes, so put it after the catch-all for the webapp not deleting as functionality may still be required from that route throughout
This commit is contained in:
parent
35b24e687c
commit
b4b7506cec
@ -131,7 +131,6 @@ Rails.application.routes.draw do
|
||||
get :player
|
||||
end
|
||||
|
||||
resources :tags, only: [:show]
|
||||
resources :emojis, only: [:show]
|
||||
resources :invites, only: [:index, :create, :destroy]
|
||||
resources :filters, except: [:show]
|
||||
@ -452,6 +451,7 @@ Rails.application.routes.draw do
|
||||
get '/:account_username/posts/:id', to: 'statuses#show', as: :short_account_status
|
||||
get '/:account_username/posts/:id/embed', to: 'statuses#embed', as: :embed_short_account_status
|
||||
|
||||
resources :tags, only: [:show]
|
||||
|
||||
match '*unmatched_route',
|
||||
via: :all,
|
||||
|
Loading…
Reference in New Issue
Block a user