diff --git a/README.md b/README.md index 6f76443..b94200e 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ get '/sitemap(.:format)' => 'pages#sitemap' scope '(/:locale)', constraints: {locale: /nl|be|de|fr|en/}, defaults: { locale: :nl } do get "/:name" => "pages#show", constraints: {name: /.*/}, as: :page end -match "/*url" => "pages#not_found" +get "/*url" => "pages#not_found" root :to => 'pages#home' ```