summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
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