aptible-rails 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aptible/rails/routes_helper.rb +24 -12
- data/lib/aptible/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22413fec6ea963c9dee12cc18385bb6f8f652b08
|
|
4
|
+
data.tar.gz: 3c28d4d0c32ea4a31565de7df14adca85c23f2cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 134a1a96deb5b6f144b0f9673d13295173ebe2c679467fd3b0a27c63ea7d71306f3d3972023eeca2d95d2378b261b963a244bc245a8b113f89f0bd27f383b0e8
|
|
7
|
+
data.tar.gz: 3080c050ddf2acafee0db12a746e4257aa61a04ef01571627fe1b74cae6bcd3acef5f7417644febdc6986e8fba403b93bf4199875896ad01cfc904310459e0aa
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
module Aptible
|
|
2
2
|
module Rails
|
|
3
3
|
module RoutesHelper
|
|
4
|
-
def
|
|
4
|
+
def marketing_url
|
|
5
5
|
'https://www.aptible.com'
|
|
6
6
|
end
|
|
7
7
|
|
|
8
8
|
def about_url
|
|
9
|
-
|
|
9
|
+
marketing_url + '/about'
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
def audits_url
|
|
13
|
-
|
|
13
|
+
marketing_url + '/stressfree'
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
# Tumblr doesn't support HTTPS w/ our own domain
|
|
@@ -23,7 +23,7 @@ module Aptible
|
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def contact_url
|
|
26
|
-
|
|
26
|
+
marketing_url + '/contact'
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
def dashboard_url
|
|
@@ -31,15 +31,27 @@ module Aptible
|
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def docs_url
|
|
34
|
-
|
|
34
|
+
marketing_url + '/docs'
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def edit_organization_url
|
|
38
|
+
ENV['APTIBLE_DASHBOARD_ROOT_URL'] + '/organization'
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def edit_user_url
|
|
42
|
+
ENV['APTIBLE_DASHBOARD_ROOT_URL'] + '/settings'
|
|
35
43
|
end
|
|
36
44
|
|
|
37
45
|
def enterprise_url
|
|
38
|
-
|
|
46
|
+
marketing_url + '/enterprise'
|
|
39
47
|
end
|
|
40
48
|
|
|
41
49
|
def legal_url
|
|
42
|
-
|
|
50
|
+
marketing_url + '/legal'
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def logout_url
|
|
54
|
+
ENV['APTIBLE_DASHBOARD_ROOT_URL'] + '/logout'
|
|
43
55
|
end
|
|
44
56
|
|
|
45
57
|
def policy_url
|
|
@@ -47,15 +59,15 @@ module Aptible
|
|
|
47
59
|
end
|
|
48
60
|
|
|
49
61
|
def pricing_url
|
|
50
|
-
|
|
62
|
+
marketing_url + '/pricing'
|
|
51
63
|
end
|
|
52
64
|
|
|
53
65
|
def privacy_url
|
|
54
|
-
|
|
66
|
+
marketing_url + '/privacy'
|
|
55
67
|
end
|
|
56
68
|
|
|
57
69
|
def security_url
|
|
58
|
-
|
|
70
|
+
marketing_url + '/security'
|
|
59
71
|
end
|
|
60
72
|
|
|
61
73
|
# Groove doesn't support HTTPS w/ our own domain
|
|
@@ -77,11 +89,11 @@ module Aptible
|
|
|
77
89
|
end
|
|
78
90
|
|
|
79
91
|
def terms_url
|
|
80
|
-
|
|
92
|
+
marketing_url + '/terms'
|
|
81
93
|
end
|
|
82
94
|
|
|
83
95
|
def training_url
|
|
84
|
-
|
|
96
|
+
marketing_url + '/training'
|
|
85
97
|
end
|
|
86
98
|
end
|
|
87
99
|
end
|