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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e6ef711927c4283d7250f9edcb6efc80118fefdc0f85d0477194a0f363dbb19
4
- data.tar.gz: 6430ce2fbd548de7f9a120326ed798a214b433398708830ac0c2d62928a1a42e
3
+ metadata.gz: 1356fbda9e34b8034c28662d8fd814c2f8bf04052f0a4f9da9215d67f51ad3ec
4
+ data.tar.gz: fa83a3e0e53b713b01ecefae60bb7c9bab99b6fdf96a60d6fadb6fb73da777d9
5
5
  SHA512:
6
- metadata.gz: 9a50bbe5b0f97cff4a756da7501dd46656f594fc7a43ca075534dd7d5a1deab925bb51845a1dcdca4e71a44f8c89524cf81b2e83f12a835b157d207f5ce6fbac
7
- data.tar.gz: 2b28bf5a1aa4ea05172882b1b12cfc5542cebef15cd5466f3ee05b4431524bf44091930c400b948d8c6b38fcc021451a1cc2800fc57903b295f7cd0bd728111e
6
+ metadata.gz: fe31c430a7872a636e7db6a1576965948ccf8bfe0b60b36c5aa3ab6f36593e49d8487c4c800bf130497f6d232bc6c83166f3808f50d307906e1ee8457d83d2c2
7
+ data.tar.gz: 22e56dbcf71232a3d7f6211ce4d0db8885d4401c1774e73a232597e2246fc2a1619d63394bf30d59bbb55748c8c071a4ba7759bd03e9ad6f5631d962cd0d59d2
@@ -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.