kirgudu_base 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kirgudu_base/engine.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ff58617544cf0388338b665e2c9d489e6fb444d
|
4
|
+
data.tar.gz: 54886858f18f96e1cfe570f9231d955e4de99964
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a7ac029fdb38ab1e365d6a36de936e9e0974e567e047a9d9394a874dbe1f0c878a9db3d704827fb5b89581b6b64256b898ad00f57876a24a50f1c4d987b8890
|
7
|
+
data.tar.gz: 623522d71e003161cd3aa6479d41f334b214d401a46b6eab76d27f1e59218a988430aac6013b9b9151439cb0b93f4f9e526c18485c5eb92efce914e1326e58b4
|
data/lib/kirgudu_base/engine.rb
CHANGED
@@ -4,8 +4,12 @@ module KirguduBase
|
|
4
4
|
isolate_namespace KirguduBase
|
5
5
|
|
6
6
|
# Initializer to combine this engines static assets with the static assets of the hosting site.
|
7
|
+
# initializer "static assets" do |app|
|
8
|
+
# app.middleware.use ::ActionDispatch::Static, "#{root}/public"
|
9
|
+
# end
|
10
|
+
|
7
11
|
initializer "static assets" do |app|
|
8
|
-
app.middleware.
|
12
|
+
app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public")
|
9
13
|
end
|
10
14
|
end
|
11
15
|
end
|