summaryrefslogtreecommitdiff
path: root/config/routes/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r--config/routes/project.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 0e8e089c78a..4d38fd09889 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -155,7 +155,11 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
end
- resources :boards, only: [:index, :show], constraints: { id: /\d+/ }
+ resources :boards, only: [:index, :show, :create, :update, :destroy], constraints: { id: /\d+/ } do
+ collection do
+ get :recent
+ end
+ end
resources :releases, only: [:index]
resources :forks, only: [:index, :new, :create]
resources :group_links, only: [:index, :create, :update, :destroy], constraints: { id: /\d+/ }