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.
This commit is contained in:
Blake Erickson 2016-10-03 07:17:13 -06:00
parent 20c9c60dea
commit 5c131d3e10
1 changed files with 0 additions and 1 deletions

View File

@ -516,7 +516,6 @@ Discourse::Application.routes.draw do
# Topics resource # Topics resource
get "t/:id" => "topics#show" get "t/:id" => "topics#show"
post "t" => "topics#create"
put "t/:id" => "topics#update" put "t/:id" => "topics#update"
delete "t/:id" => "topics#destroy" delete "t/:id" => "topics#destroy"
put "t/:id/archive-message" => "topics#archive_message" put "t/:id/archive-message" => "topics#archive_message"