Commit cfd24ca5b4b2151dba257823ad5cda6cd4666472

Authored by Michel Felipe
1 parent 442eed8f

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 268 expose :layout_template
269 269 expose :signup_intro
270 270 expose :terms_of_use
  271 + expose :top_url, as: :host
271 272 expose :settings, if: lambda { |instance, options| options[:is_admin] }
272 273 end
273 274  
... ...