Commit db6ca452 authored by Shinya Maeda's avatar Shinya Maeda

Merge branch 'move-ff-issue-links-route-to-ee' into 'master'

Move Feature Flag Issues Route to EE RUN AS-IF-FOSS

See merge request gitlab-org/gitlab!43895
parents 51ad6723 21f55f8c
...@@ -373,9 +373,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do ...@@ -373,9 +373,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end end
end end
resources :feature_flags, param: :iid do resources :feature_flags, param: :iid
resources :feature_flag_issues, only: [:index, :create, :destroy], as: 'issues', path: 'issues'
end
resource :feature_flags_client, only: [] do resource :feature_flags_client, only: [] do
post :reset_token post :reset_token
end end
......
...@@ -94,6 +94,10 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do ...@@ -94,6 +94,10 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resources :dependencies, only: [:index] resources :dependencies, only: [:index]
resources :licenses, only: [:index, :create, :update] resources :licenses, only: [:index, :create, :update]
resources :feature_flags, param: :iid do
resources :feature_flag_issues, only: [:index, :create, :destroy], as: 'issues', path: 'issues'
end
scope :on_demand_scans do scope :on_demand_scans do
root 'on_demand_scans#index', as: 'on_demand_scans' root 'on_demand_scans#index', as: 'on_demand_scans'
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment