From 90567bfc6152b4fdf12c09a70c0225d652be9f5d Mon Sep 17 00:00:00 2001 From: evazion Date: Tue, 19 Jan 2021 14:07:28 -0600 Subject: [PATCH] routes: remove unused commentary index route. --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index f17174cb0..a9fca44eb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -186,7 +186,7 @@ Rails.application.routes.draw do resources :posts, only: [] do resources :events, :only => [:index], :controller => "post_events" resources :replacements, :only => [:index, :new, :create], :controller => "post_replacements" - resource :artist_commentary, :only => [:index, :show] do + resource :artist_commentary, only: [:show] do collection { put :create_or_update } member { put :revert } end