add intro route shortcut, optimize Favorite.remove

This commit is contained in:
r888888888
2015-12-08 15:17:27 -08:00
parent ab325d48bf
commit fb67525c28
2 changed files with 3 additions and 1 deletions

View File

@@ -411,5 +411,7 @@ Rails.application.routes.draw do
get "/static/name_change" => "static#name_change", :as => "name_change"
get "/meta_searches/tags" => "meta_searches#tags", :as => "meta_searches_tags"
get "/intro" => redirect("/explore/posts/intro")
root :to => "posts#index"
end