Skip to content

Commit

Permalink
Merge pull request #788 from himdel/fix-support-website
Browse files Browse the repository at this point in the history
/api/product_info - fix missing support_website, support_website_text
  • Loading branch information
lpichler authored Mar 25, 2020
2 parents 4b932ec + cb7dea7 commit f1e44be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/controllers/api/api_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def product_info_data
:name => Vmdb::Appliance.PRODUCT_NAME,
:name_full => I18n.t("product.name_full"),
:copyright => I18n.t("product.copyright"),
:support_website => I18n.t("product.support_website"),
:support_website_text => I18n.t("product.support_website_text"),
:support_website => ::Settings.docs.product_support_website,
:support_website_text => ::Settings.docs.product_support_website_text,
:branding_info => branding_info
}
end
Expand Down
4 changes: 2 additions & 2 deletions spec/requests/entrypoint_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"name" => Vmdb::Appliance.PRODUCT_NAME,
"name_full" => I18n.t("product.name_full"),
"copyright" => I18n.t("product.copyright"),
"support_website" => I18n.t("product.support_website"),
"support_website_text" => I18n.t("product.support_website_text")
"support_website" => ::Settings.docs.product_support_website,
"support_website_text" => ::Settings.docs.product_support_website_text
)
)

Expand Down

0 comments on commit f1e44be

Please sign in to comment.