explicitely redirect cc.xml

This commit is contained in:
Konstantin Haase 2012-11-08 13:33:41 +01:00
parent f8ab48178e
commit 7d055f085b

View File

@ -20,6 +20,10 @@ class Travis::Web::ApiRedirect < Sinatra::Base
redirect!
end
get '/:owner_name/:name/cc.xml' do
redirect!
end
after do
redirect! if catch_all? and api_call?
end