Browse Source

Fix atom feed route

Thibaut 11 years ago
parent
commit
d0deb1b7d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/app.rb

+ 1 - 1
lib/app.rb

@@ -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