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.
pages()
public
Returns an array of Page objects
in the current window.
# File actionpack/lib/action_controller/pagination.rb, line 400
def pages
(@first.number..@last.number).to_a.collect! {|n| @paginator[n]}
end