Update app/controllers/rails_admin/main_controller.rb #1382

Merged
merged 2 commits into from Dec 3, 2012

3 participants

@elsupergomez

Use Kaminari.config.param_name for personalized param name
This is useful for translate the param view in url an make rails_admin consistency with Kaminari configuration

@elsupergomez elsupergomez Update app/controllers/rails_admin/main_controller.rb
Use Kaminari.config.param_name for personalization of param name
This is usufull for traslate the param view in url
c7b1cd4
@mshibuya
Collaborator

Could you write specs for this change?

@elsupergomez

I can try

@elsupergomez elsupergomez Update spec/controllers/main_controller_spec.rb
Add spec for kaminari custom param_name
26e797e
@bbenezech
Collaborator

@elsupergomez Can you check the failures at https://travis-ci.org/sferik/rails_admin/jobs/3031123 ?

Please note that spec are run in random order, so the failures may not be related to the environment.

@bbenezech bbenezech merged commit 26e797e into sferik:master Dec 3, 2012

1 check failed

Details default The Travis build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment