thecore 1.6.0 → 1.6.1
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: 17dd7877d87efe7778f9cdf48c2e7df18500a698
|
4
|
+
data.tar.gz: b5b648df1e8fbfb7e3b2f0cac4cd435ea49c9129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb948504b23a7dfa441d7229901cc050961664ba86131b1d633d060c18167322d3dca0f102f0d2a70cdc14ced3b19d6d20abd014f8c93ffd3c71167701a19df8
|
7
|
+
data.tar.gz: 2d8a1afa12947374e10034153a43f002f0cace9a9273bd7000c2e29be4acefd5004d9c6438be9403689429ed8caffffcfc9e454c4b3c2c8c11729c1ad945cd0f
|
@@ -10,7 +10,7 @@ class Ckeditor::Picture < Ckeditor::Asset
|
|
10
10
|
|
11
11
|
def url_content
|
12
12
|
# url_t = (ENV['RAILS_URL'].blank? || ) ? "http://localhost:3000" : "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}"
|
13
|
-
return url(:content)
|
14
|
-
|
13
|
+
# return url(:content)
|
14
|
+
return "#{ENV['RAILS_URL'].presence}#{ENV['RAILS_RELATIVE_URL_ROOT'].presence}#{url(:content)}"
|
15
15
|
end
|
16
16
|
end
|
data/lib/thecore/version.rb
CHANGED