дзеркало
https://github.com/redmine/redmine.git
synced 2024-08-26 17:58:38 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
Compatibility with Rails 1.2 is preserved. git-svn-id: http://redmine.rubyforge.org/svn/trunk@975 e93f8b46-1217-0410-a6f0-8f06a7374b81
19 рядки
648 B
Plaintext
19 рядки
648 B
Plaintext
Pagination
|
|
==========
|
|
|
|
To install:
|
|
|
|
script/plugin install svn://errtheblog.com/svn/plugins/classic_pagination
|
|
|
|
This code was extracted from Rails trunk after the release 1.2.3.
|
|
WARNING: this code is dead. It is unmaintained, untested and full of cruft.
|
|
|
|
There is a much better pagination plugin called will_paginate.
|
|
Install it like this and glance through the README:
|
|
|
|
script/plugin install svn://errtheblog.com/svn/plugins/will_paginate
|
|
|
|
It doesn't have the same API, but is in fact much nicer. You can
|
|
have both plugins installed until you change your controller/view code that
|
|
handles pagination. Then, simply uninstall classic_pagination.
|