Fix #3913: Remove legacy /post/create.xml endpoint.

This commit is contained in:
evazion
2018-09-20 12:10:45 -05:00
parent 958a9f505b
commit 235271706b
3 changed files with 0 additions and 20 deletions

View File

@@ -376,7 +376,6 @@ Rails.application.routes.draw do
get "/post/index.xml", :controller => "legacy", :action => "posts", :format => "xml"
get "/post/index.json", :controller => "legacy", :action => "posts", :format => "json"
get "/post/create.xml", :controller => "legacy", :action => "create_post", :format => "xml"
get "/post/piclens", :controller => "legacy", :action => "unavailable"
get "/post/index" => redirect {|params, req| "/posts?tags=#{CGI::escape(req.params[:tags].to_s)}&page=#{req.params[:page]}"}
get "/post" => redirect {|params, req| "/posts?tags=#{CGI::escape(req.params[:tags].to_s)}&page=#{req.params[:page]}"}