thecore 1.5.8 → 1.5.9
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 +1 -5
- data/config/routes.rb +1 -1
- 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: c00ba2aacc2a4ee2da95cb217325fc4a1af9ae44
|
4
|
+
data.tar.gz: 3a05ff444e2d1dd7176481cfd1baad7c51d99078
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fbddf6636621ed8ab2841162516292dc4e3c0ed42ca82c9f0a7c715daf8aa3f6feb3d9abbd7422da9256105a3aa3b2456287d1ca3a963b9990fa2d74b9c8836
|
7
|
+
data.tar.gz: f1b2c06987d03538b49eee5264b526a99b8db76b4734a2aff14fbaafe4db74f1799ad41003c4060ed1e53fb7445bfc8087a056b31253e5e83a3e6934645030bb
|
@@ -10,11 +10,7 @@ class Ckeditor::Picture < Ckeditor::Asset
|
|
10
10
|
|
11
11
|
def url_content
|
12
12
|
# url(:content)
|
13
|
-
url_t =
|
14
|
-
"http://localhost:3000"
|
15
|
-
else
|
16
|
-
"#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}"
|
17
|
-
end
|
13
|
+
url_t = (ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?) ? "http://localhost:3000" : "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}"
|
18
14
|
"#{url_t}#{url(:content)}"
|
19
15
|
end
|
20
16
|
end
|
data/config/routes.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
2
|
# mount RailsAdminSelectize::Engine => '/rails-admin-selectize', as: 'rails_admin_selectize'
|
3
3
|
mount RailsAdmin::Engine => '/app', as: 'rails_admin'
|
4
|
-
mount Ckeditor::Engine => '/ckeditor'
|
4
|
+
mount Ckeditor::Engine => '/development/showcase-backend/ckeditor'
|
5
5
|
|
6
6
|
get "home", to: "pages#home", as: "home"
|
7
7
|
get "inside", to: "pages#inside", as: "inside"
|
data/lib/thecore/version.rb
CHANGED