8000 Add a `:params` option to PaginatedCollection. by knu · Pull Request #3879 · activeadmin/activeadmin · GitHub
[go: up one dir, main page]

Skip to content

Add a :params option to PaginatedCollection. #3879

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2015
Merged

Add a :params option to PaginatedCollection. #3879

merged 1 commit into from
Apr 7, 2015

Conversation

knu
Copy link
Contributor
@knu knu commented Apr 7, 2015

This allows, for instance, adding an anchor to each pagination link.

8000
This allows, for instance, adding an anchor to each pagination link.
@@ -65,6 +65,19 @@ def paginated_collection(*args)
end
end

context "when specifying :params option" do
let(:collection) do
posts = 10.times.map{ Post.new }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space missing to the left of {.

timoschilling added a commit that referenced this pull request Apr 7, 2015
Add a `:params` option to PaginatedCollection.
@timoschilling timoschilling merged commit c82d732 into activeadmin:master Apr 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0