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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e6ef711927c4283d7250f9edcb6efc80118fefdc0f85d0477194a0f363dbb19
4
- data.tar.gz: 6430ce2fbd548de7f9a120326ed798a214b433398708830ac0c2d62928a1a42e
3
+ metadata.gz: b4c6f67b8fd7c3173f8f6144d327e76047ec2bb556a52691e2f7001d41c4aafa
4
+ data.tar.gz: ca98a7dd5f7ea3e0328d6c4da8223f090e86157c876292eb553a5828909b85a6
5
5
  SHA512:
6
- metadata.gz: 9a50bbe5b0f97cff4a756da7501dd46656f594fc7a43ca075534dd7d5a1deab925bb51845a1dcdca4e71a44f8c89524cf81b2e83f12a835b157d207f5ce6fbac
7
- data.tar.gz: 2b28bf5a1aa4ea05172882b1b12cfc5542cebef15cd5466f3ee05b4431524bf44091930c400b948d8c6b38fcc021451a1cc2800fc57903b295f7cd0bd728111e
6
+ metadata.gz: fa22362aede0571c4dcf36ce1a4c499ff199deb64e3103cd3aca297ef80e14fcb83bc4d1d875daef045ddaebef0b4b966136c08f350e46bbcfed74944039297b
7
+ data.tar.gz: fbddd930589050bafa8f3cc45d2a8348c90d03fe0b23b489e649abd0894b0e6492086c63c31469553d2419c7a2c8ef772f6baa26dc189e85d60952dae34b6d9f
@@ -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.