diff options
author | elijah <elijah@riseup.net> | 2013-04-18 10:27:55 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-04-18 10:27:55 -0700 |
commit | 8485b9340b96c16f47d6de145ceca0d7838d2fdd (patch) | |
tree | 2e4d557c3f1ad03034b7750bc03d96d2ef98fb61 | |
parent | 1d29e7ad92d4197fed3812add3ad195800f53281 (diff) |
provider.json 'domain' entry should match the domain suffix of the node.
-rw-r--r-- | provider_base/files/service-definitions/provider.json.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/provider_base/files/service-definitions/provider.json.erb b/provider_base/files/service-definitions/provider.json.erb index 54919898..bc93fac5 100644 --- a/provider_base/files/service-definitions/provider.json.erb +++ b/provider_base/files/service-definitions/provider.json.erb @@ -4,9 +4,11 @@ # grab some fields from provider.json hsh = global.provider.pick( :languages, :description, :name, - :enrollment_policy, :default_language, :domain, :service + :enrollment_policy, :default_language, :service ) + hsh['domain'] = domain.full_suffix + # advertise services that are 'user services' hsh['services'] = global.services[:service_type => :user_service].field(:name) |