aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorre4k <re4k@re4k.info>2013-04-03 16:57:33 +0900
committerre4k <re4k@re4k.info>2013-04-03 16:57:33 +0900
commit1b49426b0c935a44262384acb526e5fbb86598c7 (patch)
treefe38323a2ffb7c7a4d381df37291dfa71d66e78d /app/views
parent532f0445a5812259a547cda32ac78ebd79d2bc77 (diff)
downloadaclog-1b49426b0c935a44262384acb526e5fbb86598c7.tar.gz
fix pager
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/tweets.html.haml2
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 &#8250;")
- - else
+ - elsif @items.last
= link_to raw("Next &#8250;"), params.merge(:max_id => @items.last.id - 1), :rel => :next