-
- Downloads
There was a problem fetching the pipeline summary.
Merge branch 'dz-refactor-contraints' into 'master'
Refactor routing constraints ## What does this MR do? Refactors routing constraints ## Why was this MR needed? This refactoring make it possible to introduce nesting namespaces and project constrainer in future. ## What are the relevant issue numbers? Extracted from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7121/ See merge request !7327
Showing
- lib/constraints/constrainer_helper.rb 15 additions, 0 deletionslib/constraints/constrainer_helper.rb
- lib/constraints/group_url_constrainer.rb 12 additions, 4 deletionslib/constraints/group_url_constrainer.rb
- lib/constraints/user_url_constrainer.rb 12 additions, 4 deletionslib/constraints/user_url_constrainer.rb
- spec/lib/constraints/constrainer_helper_spec.rb 20 additions, 0 deletionsspec/lib/constraints/constrainer_helper_spec.rb
- spec/lib/constraints/group_url_constrainer_spec.rb 13 additions, 4 deletionsspec/lib/constraints/group_url_constrainer_spec.rb
- spec/lib/constraints/namespace_url_constrainer_spec.rb 0 additions, 35 deletionsspec/lib/constraints/namespace_url_constrainer_spec.rb
- spec/lib/constraints/user_url_constrainer_spec.rb 9 additions, 3 deletionsspec/lib/constraints/user_url_constrainer_spec.rb
- spec/routing/routing_spec.rb 2 additions, 2 deletionsspec/routing/routing_spec.rb
Please register or sign in to comment