diff options
author | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-07-26 10:35:47 +0300 |
---|---|---|
committer | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-07-29 14:54:45 +0300 |
commit | be9aa7f19474424991923f128053e2523fa166d8 (patch) | |
tree | dde83c7c92d7b932d3b9b79405fb1e5524034345 /config | |
parent | 242f8377264973d642b46e5d2800ef3d3bd4c0fa (diff) |
Add an URL field to Environments
This MR adds a string (thus max 255 chars) field to the enviroments
table to expose it later in other features.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 308d83af57e..ced204be7f7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -741,7 +741,7 @@ Rails.application.routes.draw do end end - resources :environments, only: [:index, :show, :new, :create, :destroy] + resources :environments, constraints: { id: /\d+/ } resources :builds, only: [:index, :show], constraints: { id: /\d+/ } do collection do |