]> cat aescling's git repositories - mastodon.git/commitdiff
Fix #385 - /web now loads a page
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 4 Jan 2017 14:35:36 +0000 (15:35 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 4 Jan 2017 14:35:36 +0000 (15:35 +0100)
config/routes.rb

index 18c239c48a5097c8af499bec3d8518cf53c88309..e46b27f1f4e6985f43b9baeea0ab848d19a62842 100644 (file)
@@ -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'