Commit f2b2ff07679df38d6f5db012e4fcdc12a9e3670a

Authored by Leandro Santos
2 parents 5c1cc1c2 cfd24ca5
Exists in fix_sign_up_form

Merge branch 'environment-exposes-api' into 'master'

API - Environment entity new fields

Added the fields `:signup_intro`, `:terms_of_use` and `:top_url` (exposed using `:host` alias)  to `Environment` entity:

See merge request !982
Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
app/api/entities.rb
... ... @@ -270,6 +270,9 @@ module Api
270 270 expose :id
271 271 expose :description
272 272 expose :layout_template
  273 + expose :signup_intro
  274 + expose :terms_of_use
  275 + expose :top_url, as: :host
273 276 expose :settings, if: lambda { |instance, options| options[:is_admin] }
274 277 end
275 278  
... ...