Commit Graph

16 Commits

Author SHA1 Message Date
Satoshi Ohmori 3edef61ac3 More readability 2015-08-27 22:11:51 +09:00
Yuki Nishijima baf4704978 Add the ability to keep params in the link to first page
fixes #44
2015-03-01 10:23:44 -08:00
Yuki Nishijima 5c5e9af3c7 Explicitly require MimeType from ActionDispatch
Fixes:   https://travis-ci.org/amatsuda/kaminari/jobs/45531644#L1127-L1239
Related: https://github.com/rails/rails/issues/17030
2014-12-31 03:28:22 -08:00
Emil Sågfors 947a123075 Make last_page? behave consistently with last?
Closes #582.

Also amends next_page and helpers for action_view and sinatra to
preserve the intended behaviour.
2014-07-24 12:57:44 +03:00
Yuki Nishijima 06ed952452 Fix faling specs for sinatra 1.4.5 2014-04-09 19:19:16 -07:00
Yuki Nishijima 0c2a7c0a9a Make helper methods for sinatra slightly better 2014-02-02 14:58:03 -08:00
Yuki Nishijima 2956f8e064 Add documenttion for link_to_previous_page [ci skip] 2014-02-02 14:10:50 -08:00
Ayaka Ikezawa a70e2499d3 Add link_to_previous_page helper for sinatra 2014-02-02 15:46:08 +09:00
Jean-Philippe Doyle 63b6f74d06 Add support for Sinatra views overrides (add app views paths) 2013-01-05 18:39:07 -05:00
Shota Fukumori 130957fe18 Fix typo: shold -> should 2013-01-01 04:53:19 +09:00
Akira Matsuda e79935c2d5 num_pages => total_pages 2012-05-25 15:31:53 +09:00
Akira Matsuda 53c27f36be fix failing Sinatra specs 2012-05-23 12:54:54 +09:00
Akira Matsuda e5ae6074e7 we need link_to_unless helper for Sinatra. Copied from AV 2012-05-23 12:54:54 +09:00
Akira Matsuda f263dd38d2 include Padrino helpers 2012-05-23 12:54:54 +09:00
Forrest Ye 6ad1e08e88 remove several trailing whitespaces 2012-05-14 23:45:33 +08:00
Uchio Kondo 9dec2ad6d0 rename sinatra_helpers, add bacis tests 2011-11-22 13:29:45 +09:00
Renamed from lib/kaminari/helpers/sinatra_helper.rb (Browse further)