From 5c131d3e10ad035e4b17c82ed53d09009fdbdef8 Mon Sep 17 00:00:00 2001 From: Blake Erickson Date: Mon, 3 Oct 2016 07:17:13 -0600 Subject: [PATCH] Remove route to action that doesn't exist Removed the `post "t"` route from the routes file because the `topics#create` action doesn't exist in the topics controller. New topics are created in the posts controller. --- config/routes.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index af169723dd0..52259c49db2 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -516,7 +516,6 @@ Discourse::Application.routes.draw do # Topics resource get "t/:id" => "topics#show" - post "t" => "topics#create" put "t/:id" => "topics#update" delete "t/:id" => "topics#destroy" put "t/:id/archive-message" => "topics#archive_message"