From: Eugen Rochko Date: Wed, 4 Jan 2017 14:35:36 +0000 (+0100) Subject: Fix #385 - /web now loads a page X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=2b0b7ff1b8b134e97c8827721a59cac21897932c;p=mastodon.git Fix #385 - /web now loads a page --- diff --git a/config/routes.rb b/config/routes.rb index 18c239c48..e46b27f1f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -136,7 +136,7 @@ Rails.application.routes.draw do end end - get '/web/*any', to: 'home#index', as: :web + get '/web/(*any)', to: 'home#index', as: :web get :about, to: 'about#index' get :terms, to: 'about#terms'