jm81-paginate 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/helpers/merb.rb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
data/lib/helpers/merb.rb
CHANGED
@@ -41,7 +41,7 @@ module Paginate
|
|
41
41
|
pages = collection.pages
|
42
42
|
|
43
43
|
tag(:div, :class => 'pageLinks') do
|
44
|
-
if
|
44
|
+
if current == 1
|
45
45
|
tag(:span, '«', :class => 'pageDisabled pagePrevious')
|
46
46
|
else
|
47
47
|
tag(:a, '«', :href => page_url(current - 1), :class => 'pagePrevious')
|