Skip to content

Commit

Permalink
Merge pull request #372 from adamaziz15/bug/158-pricing-sync
Browse files Browse the repository at this point in the history
[DEVPL-158] Pricing Sync
  • Loading branch information
ouranos authored Jul 18, 2017
2 parents b18f6b8 + 73a1207 commit 2926dc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
json.extract! app, :id, :nid, :name, :stack, :key_benefits, :categories, :tags, :tiny_description,
:testimonials, :pictures, :pricing_plans, :rank, :support_url, :key_workflows, :key_features
:testimonials, :pictures, :pricing_plans, :rank, :support_url, :key_workflows, :key_features, :pricing_text

json.description markdown(app.sanitized_description)
json.known_limitations markdown(app.known_limitations)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def partial_hash_for_app(app)
'subcategories' => app.subcategories,
'average_rating' => app.average_rating,
'add_on' => app.add_on?,
'running_instances_count' => app.running_instances_count
'running_instances_count' => app.running_instances_count,
'pricing_text' => app.pricing_text
}
end

Expand Down
2 changes: 1 addition & 1 deletion core/app/models/mno_enterprise/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class App < BaseResource
attributes :id, :uid, :nid, :name, :description, :tiny_description, :created_at, :updated_at, :logo, :website, :slug,
:categories, :key_benefits, :key_features, :testimonials, :worldwide_usage, :tiny_description,
:popup_description, :stack, :terms_url, :pictures, :tags, :api_key, :metadata_url, :metadata, :details, :rank,
:multi_instantiable, :subcategories, :reviews, :average_rating, :running_instances_count
:multi_instantiable, :subcategories, :reviews, :average_rating, :running_instances_count, :pricing_text


#================================
Expand Down

0 comments on commit 2926dc9

Please sign in to comment.