diff options
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r-- | config/routes/group.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index 612929dba09..710f12e33ad 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -59,14 +59,6 @@ constraints(GroupUrlConstrainer.new) do # On CE only index and show actions are needed resources :boards, only: [:index, :show] - - legacy_ee_group_boards_redirect = redirect do |params, request| - path = "/groups/#{params[:group_id]}/-/boards" - path << "/#{params[:extra_params]}" if params[:extra_params].present? - path << "?#{request.query_string}" if request.query_string.present? - path - end - get 'boards(/*extra_params)', as: :legacy_ee_group_boards_redirect, to: legacy_ee_group_boards_redirect end scope(path: '*id', |