summaryrefslogtreecommitdiff
path: root/config/routes/group.rb
diff options
context:
space:
mode:
authorHeinrich Lee Yu <heinrich@gitlab.com>2019-02-27 21:08:48 +0800
committerHeinrich Lee Yu <heinrich@gitlab.com>2019-03-01 19:47:52 +0800
commitc5b3b71e89996ba4e6fb977e3cbb3eebfbbfed4e (patch)
treef00ba49189df8a72f647c33c4670534f70c7cc64 /config/routes/group.rb
parent31353188f84bd3e57318b4b1aa2da93a9d9605d1 (diff)
downloadgitlab-ce-c5b3b71e89996ba4e6fb977e3cbb3eebfbbfed4e.tar.gz
CE-port for 7714-view-recent-boards
Adds additional count param to Boards::Visits::LatestService
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r--config/routes/group.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index a0aeebe4b91..b3015529c6e 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -67,7 +67,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
end
end
- resources :boards, only: [:index, :show]
+ resources :boards, only: [:index, :show], constraints: { id: /\d+/ }
resources :runners, only: [:index, :edit, :update, :destroy, :show] do
member do