Permalink
Browse files

Changing the url so if anyone subbed with my version of the code it d…

…oesn't 404. :)
  • Loading branch information...
1 parent 1045a6b commit 35227b7448f422c62859a767a2ba346c74eda75b @LindseyB committed Feb 15, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 blog.rb
  2. +1 −1 views/layout.haml
View
2 blog.rb
@@ -68,7 +68,7 @@ def url_base
haml :archive
end
- get '/feed' do
+ get '/rss.xml' do
@posts = latest_posts.first(10)
content_type 'application/atom+xml'
View
2 views/layout.haml
@@ -16,7 +16,7 @@
%link{:href=>"/stylesheets/sunburst.css", :rel=>"stylesheet", :type=>"text/css"}
%link{:href=>"/stylesheets/font-awesome.css", :rel=>"stylesheet", :type=>"text/css"}
%link{:href=>"/stylesheets/style.css", :rel=>"stylesheet", :type=>"text/css"}
- %link{:href=>"/feed", :rel=>"alternate", :type=>"application/atom+xml", :title=>title}
+ %link{:href=>"/rss.xml", :rel=>"alternate", :type=>"application/atom+xml", :title=>title}
%title #{title}
%body

0 comments on commit 35227b7

Please sign in to comment.