diff options
author | azul <azul@riseup.net> | 2017-03-07 17:20:18 +0000 |
---|---|---|
committer | azul <azul@riseup.net> | 2017-03-07 17:20:18 +0000 |
commit | 67824594246aee807ebacdf61c4e2d0a136eab73 (patch) | |
tree | 9cb82ea3db87102ba96a5eb9bed895715a799ec8 /config/routes.rb | |
parent | 1c4a107578d1faad65af3a2cf3bba8a910356ae8 (diff) | |
parent | 41d9a911f0dfc88bd22e2e09abf6b4c4c1a2bec4 (diff) |
Merge branch 'username-with-dot' into 'master'
Fix keys route to accept usernames with dots
See merge request !14
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index b152c9c..d388ab7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -58,6 +58,6 @@ LeapWeb::Application.routes.draw do get "/.well-known/host-meta" => 'webfinger#host_meta' get "/webfinger" => 'webfinger#search' - get "/key/:login" => 'keys#show' + get "/key/:login" => 'keys#show', :constraints => { :login => /[^\/]+/ } end |