Issue #412 paginated collection scope #428

Merged
merged 4 commits into from Sep 29, 2011
Commits on Aug 26, 2011
  1. @samvincent

    Issue #412 - Fix scope issue with :collection for PaginatedCollection…

    samvincent committed Aug 26, 2011
    … component
    
    When rendering a PaginatedCollection for an associated collection within the
    show context (for example), the :collection method called was referring to the resource
    rather than the passed in collection. Also raising error if collection has not been
    scoped with Kaminari to help new users figure it out.
Commits on Aug 29, 2011
  1. @samvincent

    Issue #412 - Added support for :param_name to PaginatedCollection

    samvincent committed Aug 29, 2011
    Setting :param_name allows you to put multiple paginated collections
    on a single page. (eg. Show action)
  2. @samvincent

    Issue #412 - Disable download links option for PaginatedCollection

    samvincent committed Aug 29, 2011
    When rendering a paginated collection on the show screen for example,
    it does not make sense to include resource download links for the collection.
  3. @samvincent