Skip to content

Commit

Permalink
for douban feed
Browse files Browse the repository at this point in the history
  • Loading branch information
halida committed Nov 9, 2011
1 parent 733caf2 commit 0d96e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.rb
Expand Up @@ -66,7 +66,7 @@ def partial(page, options={})
myhaml :article
end

get '/feed' do
get /^\/feed/ do
@articles = Article.first(5, :order => [:created.desc] )
@updated = @articles[0].updated
myhaml :feed, {:layout => false}
Expand Down

0 comments on commit 0d96e72

Please sign in to comment.