glib-web 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/glib/home_controller.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c09328c452d79c62455066bb59bf06256c26ee2afe268f03ccfafcfa57f9b99
|
4
|
+
data.tar.gz: b8eafbcdd5befc44faddfc68d017a9605f2d972748c06cacb343380a4c07e4a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9daa8b2f96fceb227588ac0e346e5a752fb9d08d818ee627f33971fabd10eb4e6c92b0248252a8f97a5f5d548f55d3f790f13ee2f1f0e67f51707ec684a58c4
|
7
|
+
data.tar.gz: 68ab224034c17978d9ee2ba7090b5d96a1ab3c06e0b007aa0e26669b9ea8c5dbbb213655fe15102d9f5ec8578408d7c62e1bd8cdb1a04497428ac3ea463c2a2e
|
@@ -12,8 +12,9 @@ module Glib
|
|
12
12
|
|
13
13
|
def json_ui_garage_url(options = {})
|
14
14
|
Glib::Web::Engine.routes.url_helpers.json_ui_garage_url(options.merge(
|
15
|
-
|
16
|
-
|
15
|
+
protocol: (Rails.application.config.force_ssl ? 'https' : 'http'),
|
16
|
+
host: request.host,
|
17
|
+
port: request.port,
|
17
18
|
_render: params[:_render], format: params[:format])
|
18
19
|
)
|
19
20
|
end
|