Moved appropriate part of kaminari for resources to controller, renamed param to be more semantically relevant