blob: 3c1c95c0424af58240816755a4362e14341c615f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|