Merge pull request #3794 from tgxworld/add_web_manifes

FEATURE: Add web manifest for Chrome users.
This commit is contained in:
Régis Hanol
2015-09-23 11:35:14 +02:00
4 changed files with 29 additions and 0 deletions

View File

@@ -534,6 +534,7 @@ Discourse::Application.routes.draw do
get "favicon/proxied" => "static#favicon", format: false
get "robots.txt" => "robots_txt#index"
get "manifest.json" => "manifest_json#index", as: :manifest
Discourse.filters.each do |filter|
root to: "list##{filter}", constraints: HomePageConstraint.new("#{filter}"), :as => "list_#{filter}"