Module: Kaminari::Helpers::Link
- Includes:
- Page, Renderable
- Defined in:
- lib/kaminari/helpers/tags.rb
Overview
Tag that contains a link
Instance Method Summary collapse
-
#to_s(locals = {}) ⇒ Object
:nodoc:.
-
#url ⇒ Object
the link’s href.
Methods included from Page
Methods included from Renderable
Instance Method Details
#to_s(locals = {}) ⇒ Object
:nodoc:
182 183 184 |
# File 'lib/kaminari/helpers/tags.rb', line 182 def to_s(locals = {}) #:nodoc: super locals.merge(:url => url) end |
#url ⇒ Object
the link’s href
179 180 181 |
# File 'lib/kaminari/helpers/tags.rb', line 179 def url page_url_for page end |