add glob patten for missing routes

This commit is contained in:
r888888888
2016-08-30 14:42:01 -07:00
parent 23464f0c3a
commit 929d6e7ec5
2 changed files with 6 additions and 0 deletions

View File

@@ -420,4 +420,6 @@ Rails.application.routes.draw do
get "/intro" => redirect("/explore/posts/intro")
root :to => "posts#index"
get "*other", :to => "static#not_found"
end