front_end_builds 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/front_end_builds/engine.rb +3 -1
- data/lib/front_end_builds/version.rb +1 -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: bbd733e1ee237d3f02e2f7a1af58ee75dd5ea9fe
|
4
|
+
data.tar.gz: 9a6693a162761752eb8985421b8d5f8c4f557317
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a372da351aab547cd003421c498744a7d265c36d017778f2040eae7fe7295f3fa64c1a8a98cfa9ef68191dc214864425cf1cebde86b8392861600f509495072
|
7
|
+
data.tar.gz: 26744dc2a083103f4773c3a33cc70bd6c0dcec86039916271215ae541e5a3a5936bbe3904ff9e73c740b867165d80f322424f527d7db006cdc9df41a94406ed9
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'action_dispatch/middleware/static'
|
2
|
+
|
1
3
|
module FrontEndBuilds
|
2
4
|
class Engine < ::Rails::Engine
|
3
5
|
isolate_namespace FrontEndBuilds
|
@@ -9,7 +11,7 @@ module FrontEndBuilds
|
|
9
11
|
g.helper false
|
10
12
|
end
|
11
13
|
|
12
|
-
|
14
|
+
# Initializer to combine this engines static assets with the static assets of the hosting site.
|
13
15
|
initializer "static assets" do |app|
|
14
16
|
app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public")
|
15
17
|
end
|