Commit e5fe49ed authored by Douwe Maan's avatar Douwe Maan

Add /-/ to group boards path and add redirect from old to new path

parent 07630469
...@@ -61,10 +61,13 @@ scope(path: 'groups/*group_id', ...@@ -61,10 +61,13 @@ scope(path: 'groups/*group_id',
resources :variables, only: [:index, :show, :update, :create, :destroy] resources :variables, only: [:index, :show, :update, :create, :destroy]
resources :billings, only: [:index] resources :billings, only: [:index]
end
## EE-specific ## EE-specific
resources :boards, only: [:index, :show, :create, :update, :destroy] resources :boards, only: [:index, :show, :create, :update, :destroy]
end
## EE-specific
get :boards, to: redirect('/groups/%{group_id}/-/boards')
end end
scope(path: 'groups/*id', scope(path: 'groups/*id',
......
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