aptible-rails 0.4.10 → 0.4.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aptible/rails/version.rb +1 -1
- data/lib/aptible/rails/view_helper.rb +9 -10
- 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: 35be1dc385803dad441f142b272018c07e5d530b
|
4
|
+
data.tar.gz: 7d1fd4dff716ea18fdc0e4903f254d5187bee7d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a5cc08fe81f23303bb87445bb5ee46c89d3dded0fbbcdef9cb5c82a4db2e010828b087b84779883b96ca7dd4a0730ca14f7d3388009ef444f7627d5b5d5c5d8
|
7
|
+
data.tar.gz: 443f0202afed082ef15e6082512e75f1d7ccae449833a8fd2cbc485fd6eb2752f14cd20073df23c3b3eeb0738bd08c58da76fec1f03c5f0da598170b2b431042
|
@@ -28,16 +28,15 @@ module Aptible
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def return_to_context_url(local_assigns)
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
URI href
|
31
|
+
URI(if controller?('apps')
|
32
|
+
apps_url
|
33
|
+
elsif controller?('databases')
|
34
|
+
databases_url
|
35
|
+
elsif local_assigns[:compliance_page] || controller?('compliance')
|
36
|
+
compliance_url
|
37
|
+
else
|
38
|
+
dashboard_url
|
39
|
+
end)
|
41
40
|
end
|
42
41
|
end
|
43
42
|
end
|