rails_admin_ui_layout_taris 1.2.26 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 611d276340b1ef9410c9a41dfb0d370da51745e5
|
4
|
+
data.tar.gz: e5f7a881c4cf3a8f000ba2e86cb0d807077213b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 560d042d309eefd499e833a7fc0518f20e31873a0d49b34df7292f9c52066f790d890c9dae950d7b94d76213a5c3a52a4fca88cc3c8477ade9ba9483e0d4210d
|
7
|
+
data.tar.gz: d32c9c8f4fe6ca9e9bda51cfa7cd296fae76e59566dfc6092f6cd1d31563f68a238afc136a4023ba33f40c31ec57835400cac138013b73168be4a345f4203b21
|
@@ -1,10 +1,12 @@
|
|
1
1
|
:ruby
|
2
|
-
url = (ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?) ? "http://localhost:3000/assets/ckeditor" : "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}/assets/ckeditor"
|
2
|
+
url = (ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?) ? "http://localhost:3000/assets/ckeditor/" : "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}/assets/ckeditor/"
|
3
3
|
js_data = {
|
4
|
-
jspath: field.location ? field.location : url + field.base_location + "ckeditor.js",
|
4
|
+
# jspath: field.location ? field.location : url + field.base_location + "ckeditor.js",
|
5
|
+
jspath: url + "ckeditor.js",
|
5
6
|
base_location: url,
|
6
7
|
options: {
|
7
|
-
customConfig: field.config_js ? field.config_js : url + field.base_location + "config.js"
|
8
|
+
# customConfig: field.config_js ? field.config_js : url + field.base_location + "config.js"
|
9
|
+
customConfig: url + "config.js"
|
8
10
|
}
|
9
11
|
}
|
10
12
|
|