Module: Pagify::Helper::Innate

Includes:
Web
Defined in:
lib/pagify/helper/innate.rb

Instance Method Summary collapse

Instance Method Details



6
7
8
9
# File 'lib/pagify/helper/innate.rb', line 6

def pagify_links objs, &path
  super(objs, :path => lambda{ block_given? ? path.call : request.path  },
              :page => lambda{ |name| request[name] })
end