thecore 1.5.12 → 1.5.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/ckeditor/picture.rb +2 -2
- data/lib/thecore/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: fbadf89fbf75c776eb818a8f24ff3dd92d951a74
|
4
|
+
data.tar.gz: 3ee35e2eb06431e13f512da3dfa412a1e7c7e74a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b53d3d4b453570f47763e99db4310382927eaa0b737e2ab694c3daa16fe8662e3967ff28016493a8eea54dfc6579897347334990ca7b0705976e036533ff05e3
|
7
|
+
data.tar.gz: d2df698818080a66dc1d191702a17a3225ae95ccd511b90f4327c57ef950ced9cdb2035d55d8ed2da84bd7215be587a370b72f5d559dff87163fb57d177be1ab
|
@@ -9,8 +9,8 @@ class Ckeditor::Picture < Ckeditor::Asset
|
|
9
9
|
validates_attachment_content_type :data, content_type: /\Aimage/
|
10
10
|
|
11
11
|
def url_content
|
12
|
-
# url(:content)
|
13
12
|
# url_t = (ENV['RAILS_URL'].blank? || ) ? "http://localhost:3000" : "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}"
|
14
|
-
"#{ENV['RAILS_URL'].presence || "http://localhost:3000"}#{ENV['RAILS_RELATIVE_URL_ROOT'].presence}#{url(:content)}"
|
13
|
+
# "#{ENV['RAILS_URL'].presence || "http://localhost:3000"}#{ENV['RAILS_RELATIVE_URL_ROOT'].presence}#{url(:content)}"
|
14
|
+
url(:content)
|
15
15
|
end
|
16
16
|
end
|
data/lib/thecore/version.rb
CHANGED