asset_access_control 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module AssetAccessControl
|
|
7
7
|
initializer "asset_access_control.configure_rails_initialization" do |app|
|
8
8
|
config.asset_access_control.origin ||= "*"
|
9
9
|
|
10
|
-
app.middleware.insert_before '
|
10
|
+
app.middleware.insert_before 'ActionDispatch::Static', AssetAccessControl::Middleware, config.asset_access_control.origin
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|