diff options
author | re4k <re4k@re4k.info> | 2013-04-03 16:57:33 +0900 |
---|---|---|
committer | re4k <re4k@re4k.info> | 2013-04-03 16:57:33 +0900 |
commit | 1b49426b0c935a44262384acb526e5fbb86598c7 (patch) | |
tree | fe38323a2ffb7c7a4d381df37291dfa71d66e78d /app/views | |
parent | 532f0445a5812259a547cda32ac78ebd79d2bc77 (diff) | |
download | aclog-1b49426b0c935a44262384acb526e5fbb86598c7.tar.gz |
fix pager
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/shared/tweets.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/tweets.html.haml b/app/views/shared/tweets.html.haml index 4437cab..bce37c4 100644 --- a/app/views/shared/tweets.html.haml +++ b/app/views/shared/tweets.html.haml @@ -7,5 +7,5 @@ - if @items - if params[:page] = link_to_next_page @items, raw("Next ›") - - else + - elsif @items.last = link_to raw("Next ›"), params.merge(:max_id => @items.last.id - 1), :rel => :next |