Refactor IndexCrudAction so pagination configuration is in its own method