-
- Downloads
Allow skipping users in autocomplete
Pass an array of user IDs in the `skip_users` param to have them excluded from the results (unless they are explicitly included through the `current_user` or `author_id` params).
Showing
- app/assets/javascripts/users_select.js 3 additions, 1 deletionapp/assets/javascripts/users_select.js
- app/controllers/autocomplete_controller.rb 1 addition, 0 deletionsapp/controllers/autocomplete_controller.rb
- app/helpers/selects_helper.rb 17 additions, 13 deletionsapp/helpers/selects_helper.rb
- spec/controllers/autocomplete_controller_spec.rb 13 additions, 0 deletionsspec/controllers/autocomplete_controller_spec.rb
Please register or sign in to comment