thecore 1.5.4 → 1.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/rails_application_config.rb +6 -0
- 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: d14b676a04c1496cbc2ced249e8099bbb64b5e3b
|
4
|
+
data.tar.gz: 4472a27441f84c3971c08fb53210e30093e9b372
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b99f42ee952a8ed8fa3c3ec765ce42c3c078a5abe4833e24f071362cc7985fe4ea9c48ddb25ac13425e8910b70c80bb98557b9d863bb836fb0c58fbc1fd83101
|
7
|
+
data.tar.gz: 85da45b314730a17ebfb2be12273144a043e54b16ef9585e81fbd3e8f34c64a18347206c4bed66da5d0e842c758ea457e70ccd963bfd731c669b63a33201c881
|
@@ -19,6 +19,12 @@ Rails.application.configure do
|
|
19
19
|
config.assets.precompile += %w( browserconfig.xml )
|
20
20
|
config.assets.precompile += %w( ckeditor/* )
|
21
21
|
|
22
|
+
config.action_controller.asset_host = if ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?
|
23
|
+
"http://localhost:3000"
|
24
|
+
else
|
25
|
+
"#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}"
|
26
|
+
end
|
27
|
+
|
22
28
|
config.filter_parameters += [:password]
|
23
29
|
|
24
30
|
config.active_record.raise_in_transactional_callbacks = true
|
data/lib/thecore/version.rb
CHANGED