-
- Downloads
There was an error fetching the commit references. Please try again later.
Update UserFinder to accept `username` or `id`
Update code to use the new `UserFinder` as opposed to `User.find_by_username`
Showing
- app/controllers/autocomplete_controller.rb 1 addition, 1 deletionapp/controllers/autocomplete_controller.rb
- app/controllers/profiles/keys_controller.rb 1 addition, 1 deletionapp/controllers/profiles/keys_controller.rb
- app/controllers/snippets_controller.rb 1 addition, 3 deletionsapp/controllers/snippets_controller.rb
- app/finders/issuable_finder.rb 2 additions, 2 deletionsapp/finders/issuable_finder.rb
- app/finders/user_finder.rb 39 additions, 8 deletionsapp/finders/user_finder.rb
- bin/profile-url 1 addition, 1 deletionbin/profile-url
- lib/api/features.rb 1 addition, 1 deletionlib/api/features.rb
- lib/api/helpers.rb 1 addition, 7 deletionslib/api/helpers.rb
- lib/api/internal.rb 2 additions, 2 deletionslib/api/internal.rb
- lib/gitlab/google_code_import/importer.rb 1 addition, 1 deletionlib/gitlab/google_code_import/importer.rb
- lib/gitlab/metrics/influx_db.rb 1 addition, 1 deletionlib/gitlab/metrics/influx_db.rb
- lib/tasks/import.rake 1 addition, 1 deletionlib/tasks/import.rake
- spec/finders/user_finder_spec.rb 24 additions, 6 deletionsspec/finders/user_finder_spec.rb
Please register or sign in to comment