sitepress-rails 4.0.0 → 4.0.2
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 +4 -6
- data/spec/dummy/log/test.log +7784 -32799
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d982983be98080c0cfe1f61ab6664347e9ae387335222f751c04138b5cc3ba25
|
4
|
+
data.tar.gz: 63bd4f4ba8d058e07c0bceb90919180f41a5248c7ec9d318a1737a38b93f2b24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a19381871e14383c5b65d87a3cec2ea99564b23fb148b1c4c0a8c5b11552f996804dab72b5203a88581c06a350a3d187a9cc4e696e280f87d1049034bae52796
|
7
|
+
data.tar.gz: 5fce88a50329238576a40cc21c796f3c873947be86d3e1ba536265075a0b9adb099fa0723dbff0efa5aa28c462a183e2e54f9f12b582ab342ad89a6400338be0
|
data/lib/sitepress/engine.rb
CHANGED
@@ -47,13 +47,11 @@ module Sitepress
|
|
47
47
|
sitepress_configuration.parent_engine = app
|
48
48
|
# Reloads entire site between requests for development environments
|
49
49
|
sitepress_configuration.cache_resources = app.config.cache_classes
|
50
|
+
end
|
50
51
|
|
51
|
-
|
52
|
-
#
|
53
|
-
|
54
|
-
# Set the templates extensions (e.g. erb, haml) so that Sitepress can better parse paths.
|
55
|
-
Sitepress::Path.handler_extensions = ActionView::Template::Handlers.extensions
|
56
|
-
end
|
52
|
+
config.after_initialize do
|
53
|
+
# Set the templates extensions (e.g. erb, haml) so that Sitepress can parse paths.
|
54
|
+
Sitepress::Path.handler_extensions = ActionView::Template::Handlers.extensions
|
57
55
|
end
|
58
56
|
|
59
57
|
private
|