thecore_ui_commons 3.2.12 → 3.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/info_controller.rb +1 -1
- data/app/views/layouts/_head.html.erb +1 -1
- data/config/routes.rb +2 -2
- data/lib/thecore_ui_commons/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ecfc55b8792c3c1e09cf18eeebcd1c3f8bcee6ccf112e504a0dfd482f883fec
|
4
|
+
data.tar.gz: 8116446f90defac03407158450bcc13d819a873ed9895e0d15726d14aad740d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffef2bd3fce24eab5703cd8e52cd2050ac7a191619ab2ed138738609a526714c5c0f069eac55d376662eccc3796bf2dc714cccc385a58e56ee5dc5299f016fef
|
7
|
+
data.tar.gz: 0fd5022ecc9496aa0b59611fe302e81a99613262071e0f0c4f8e70cdad03fc35d76220bb4a3769facfaa0b8a183de817d932b49e473ece46e6e9adc5256cc248
|
@@ -3,6 +3,6 @@ class InfoController < ApplicationController
|
|
3
3
|
layout 'swagger'
|
4
4
|
def swagger
|
5
5
|
uri = URI(request.url)
|
6
|
-
@swagger_json_url = "#{uri.scheme}://#{uri.host}#{":#{uri.port}" if uri.port.present?}/api/v2/info/swagger.json"
|
6
|
+
@swagger_json_url = "#{uri.scheme}://#{uri.host}#{":#{uri.port}" if uri.port.present?}#{ENV.fetch("RAILS_RELATIVE_URL_ROOT", "")}/api/v2/info/swagger.json"
|
7
7
|
end
|
8
8
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<meta charset="UTF-8">
|
2
|
-
<meta name="mobile-web-app-capable" content="yes">
|
2
|
+
<meta name="mobile-web-app-capable " content="yes">
|
3
3
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
4
4
|
<title><%= Settings.app_name rescue "Thecore" %></title>
|
5
5
|
<link rel="icon" type="image/x-icon" href="<%= image_path 'favicon.ico' %>">
|
data/config/routes.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
|
-
scope ENV.fetch("RAILS_RELATIVE_URL_ROOT", "/") do
|
2
|
+
# scope ENV.fetch("RAILS_RELATIVE_URL_ROOT", "/") do
|
3
3
|
devise_for :users
|
4
4
|
devise_scope :user do
|
5
5
|
root to: "devise/sessions#new"
|
6
6
|
end
|
7
7
|
|
8
8
|
get '/info/swagger', to: 'info#swagger'
|
9
|
-
end
|
9
|
+
# end
|
10
10
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_ui_commons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-17 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: thecore_backend_commons
|