[ARVADOS] created: ac41324707ee25527bd0077d43ff4fc34620b9e8
Git user
git at public.curoverse.com
Thu Sep 22 19:17:10 EDT 2016
at ac41324707ee25527bd0077d43ff4fc34620b9e8 (commit)
commit ac41324707ee25527bd0077d43ff4fc34620b9e8
Author: radhika <radhika at curoverse.com>
Date: Thu Sep 22 19:16:12 2016 -0400
10028: replace _____-uuid-prefix with site_config_uuid_prefix-uuid-prefix
diff --git a/services/api/app/models/arvados_model.rb b/services/api/app/models/arvados_model.rb
index 7d1c30c..672374b 100644
--- a/services/api/app/models/arvados_model.rb
+++ b/services/api/app/models/arvados_model.rb
@@ -530,7 +530,7 @@ class ArvadosModel < ActiveRecord::Base
end
def self.uuid_like_pattern
- "_____-#{uuid_prefix}-_______________"
+ "#{Rails.configuration.uuid_prefix}-#{uuid_prefix}-_______________"
end
def self.uuid_regex
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list