diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index de328db..d3d2cec 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -61,6 +61,8 @@ LeapWeb::Application.routes.draw do get "/.well-known/host-meta" => 'webfinger#host_meta' get "/webfinger" => 'webfinger#search' - get "/key/:login" => 'keys#show', :constraints => { :login => /[^\/]+/ } + get "/key/:login" => 'keys#show', + :constraints => { :login => /[^\/]+/ }, + :defaults => { :format => :text } end |