Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract GraphCollection#parse_page_url to a class method.
To make it easier for non-Rails apps to use the GraphCollection's paging support, parse_page_url can now be used without having to instantiate a GraphCollection object. (Useful for passing the whole previous/next URLs as parameters in environments lacking url_for.)
- Loading branch information
Showing
3 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters