From b4b7506cec950a9e08980c4464e719f07d26f924 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Thu, 4 Jul 2019 00:59:31 -0400 Subject: [PATCH] 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 --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index d4898687..5966cc72 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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,