module Aptible module Rails module RoutesHelper def main_url 'https://www.aptible.com' end def about_url main_url + '/about' end def audits_url main_url + '/stressfree' end # Tumblr doesn't support HTTPS w/ our own domain def blog_url 'http://blog.aptible.com' end def compliance_url ENV['APTIBLE_DASHBOARD_ROOT_URL'] + '/compliance' end def contact_url main_url + '/contact' end def dashboard_url ENV['APTIBLE_DASHBOARD_ROOT_URL'] end def docs_url main_url + '/docs' end def enterprise_url main_url + '/enterprise' end def legal_url main_url + '/legal' end def policy_url ENV['APTIBLE_POLICY_ROOT_URL'] end def pricing_url main_url + '/pricing' end def privacy_url main_url + '/privacy' end def security_url main_url + '/privacy' end # Groove doesn't support HTTPS w/ our own domain def support_url 'http://help.aptible.com' end # Statuspage.io requires a business-tier plan for SSL def status_url 'http://status.aptible.com/' end def risk_url ENV['APTIBLE_RISK_ROOT_URL'] end def roles_url ENV['APTIBLE_DASHBOARD_ROOT_URL'] + '/roles' end def terms_url main_url + '/terms' end def training_url main_url + '/training' end end end end