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:
parent
20c9c60dea
commit
5c131d3e10
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue