sitepress-rails 3.1.4 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sitepress/engine.rb +3 -0
- data/spec/dummy/log/test.log +247 -997
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1356fbda9e34b8034c28662d8fd814c2f8bf04052f0a4f9da9215d67f51ad3ec
|
4
|
+
data.tar.gz: fa83a3e0e53b713b01ecefae60bb7c9bab99b6fdf96a60d6fadb6fb73da777d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe31c430a7872a636e7db6a1576965948ccf8bfe0b60b36c5aa3ab6f36593e49d8487c4c800bf130497f6d232bc6c83166f3808f50d307906e1ee8457d83d2c2
|
7
|
+
data.tar.gz: 22e56dbcf71232a3d7f6211ce4d0db8885d4401c1774e73a232597e2246fc2a1619d63394bf30d59bbb55748c8c071a4ba7759bd03e9ad6f5631d962cd0d59d2
|
data/lib/sitepress/engine.rb
CHANGED
@@ -31,6 +31,9 @@ module Sitepress
|
|
31
31
|
app.paths["app/views"].push site.root_path.expand_path
|
32
32
|
app.paths["app/views"].push site.pages_path.expand_path
|
33
33
|
app.paths["app/models"].push site.models_path.expand_path
|
34
|
+
|
35
|
+
# Set for view_components to load at ./components
|
36
|
+
app.config.autoload_paths << File.expand_path("./components")
|
34
37
|
end
|
35
38
|
|
36
39
|
# Configure sprockets paths for the site.
|