Flowdock
method

current_page=

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActionController::Pagination::Paginator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

current_page=(page) public

Sets the current page number of this paginator. If page is a Page object, its number attribute is used as the value; if the page does not belong to this Paginator, an ArgumentError is raised.

Show source
Register or log in to add new notes.