Commit cfd24ca5b4b2151dba257823ad5cda6cd4666472
1 parent
442eed8f
Exists in
staging
and in
11 other branches
New expose fields to Environmment entity
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/api/entities.rb
@@ -268,6 +268,7 @@ module Api | @@ -268,6 +268,7 @@ module Api | ||
268 | expose :layout_template | 268 | expose :layout_template |
269 | expose :signup_intro | 269 | expose :signup_intro |
270 | expose :terms_of_use | 270 | expose :terms_of_use |
271 | + expose :top_url, as: :host | ||
271 | expose :settings, if: lambda { |instance, options| options[:is_admin] } | 272 | expose :settings, if: lambda { |instance, options| options[:is_admin] } |
272 | end | 273 | end |
273 | 274 |