sitepress-rails 3.1.4 → 3.2.1
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 +10249 -0
- 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: b4c6f67b8fd7c3173f8f6144d327e76047ec2bb556a52691e2f7001d41c4aafa
|
4
|
+
data.tar.gz: ca98a7dd5f7ea3e0328d6c4da8223f090e86157c876292eb553a5828909b85a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa22362aede0571c4dcf36ce1a4c499ff199deb64e3103cd3aca297ef80e14fcb83bc4d1d875daef045ddaebef0b4b966136c08f350e46bbcfed74944039297b
|
7
|
+
data.tar.gz: fbddd930589050bafa8f3cc45d2a8348c90d03fe0b23b489e649abd0894b0e6492086c63c31469553d2419c7a2c8ef772f6baa26dc189e85d60952dae34b6d9f
|
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.
|