Class: Kaminari::Helpers::PrevLink

Inherits:
Tag
  • Object
show all
Includes:
Link, Prev
Defined in:
lib/kaminari/helpers/tags.rb

Overview

“Previous” with link

Instance Method Summary collapse

Methods included from Renderable

included

Methods included from Link

#to_s, #url

Methods included from Page

#to_s

Methods inherited from Tag

#initialize, #to_s

Constructor Details

This class inherits a constructor from Kaminari::Helpers::Tag

Instance Method Details

#pageObject

:nodoc:



207
208
209
# File 'lib/kaminari/helpers/tags.rb', line 207

def page #:nodoc:
  @options[:current_page] - 1
end