aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/base.rb2
-rw-r--r--actionpack/lib/action_controller/metal/asset_paths.rb13
2 files changed, 1 insertions, 14 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 0d79e046a1..f829f5e8a2 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -183,8 +183,8 @@ module ActionController
MODULES = [
AbstractController::Layouts,
AbstractController::Translation,
+ AbstractController::AssetPaths,
- AssetPaths,
Helpers,
HideActions,
UrlFor,
diff --git a/actionpack/lib/action_controller/metal/asset_paths.rb b/actionpack/lib/action_controller/metal/asset_paths.rb
deleted file mode 100644
index 3c1c95c042..0000000000
--- a/actionpack/lib/action_controller/metal/asset_paths.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-require 'action_controller/metal/exceptions'
-
-module ActionController
- module AssetPaths
- extend ActiveSupport::Concern
-
- include AbstractController::AssetPaths
-
- def invalid_asset_host!(help_message)
- raise ActionController::RoutingError, "This asset host cannot be computed without a request in scope. #{help_message}"
- end
- end
-end