Fix atom feed route

pull/165/head
Thibaut 10 years ago
parent b38d94890d
commit d0deb1b7d0

@ -144,7 +144,7 @@ class App < Sinatra::Application
redirect 'http://www.shopify.com/careers?utm_source=devdocs&utm_medium=banner&utm_campaign=devdocs'
end
get '/feed' do
get %r{\A/feed(?:\.atom)?\z} do
content_type 'application/atom+xml'
settings.news_feed
end

Loading…
Cancel
Save