diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2016-12-13 16:04:11 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2016-12-13 16:04:11 +0300 |
commit | bd219711b99a31025614bf5715b35a140baf50b6 (patch) | |
tree | 65d34de4922d86cab50ebd103a817adf250e482b /lib | |
parent | 0139896b370a56619b29e08ba8b5d0da091443b1 (diff) | |
parent | 3e0b8e000f088c24493e993139f8af1be2e14de1 (diff) |
Merge branch 'dz-nested-group-improvements-2' into 'master'
Minor improvements to nested groups code
See merge request !8011
Diffstat (limited to 'lib')
-rw-r--r-- | lib/banzai/filter/abstract_reference_filter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/filter/abstract_reference_filter.rb b/lib/banzai/filter/abstract_reference_filter.rb index d904a8bd4ae..fd74eeaebe7 100644 --- a/lib/banzai/filter/abstract_reference_filter.rb +++ b/lib/banzai/filter/abstract_reference_filter.rb @@ -248,7 +248,7 @@ module Banzai end def projects_relation_for_paths(paths) - Project.where_paths_in(paths).includes(:namespace) + Project.where_full_path_in(paths).includes(:namespace) end # Returns projects for the given paths. |