Displaying 1 result from an estimated 1 matches for "config_accessor".
2012 Sep 28
0
Overriding class_attribute writers and order of super/extend C.M./included block eval in ActiveSupport::Concern
...om the dependency
handling and included block class_eval part of Concern that maybe could
benefit from that being split up somehow?:
actionpack/lib/abstract_controller/asset_paths.rb:
module AbstractController
module AssetPaths #:nodoc:
extend ActiveSupport::Concern
included do
config_accessor :asset_host, :asset_path, :assets_dir,
:javascripts_dir,
:stylesheets_dir, :default_asset_host_protocol, :relative_url_root
end
end
end
Sorry if this is an uninformed way of looking at it. I guess if it was
problematic it would have been solved already. Thanks for listening though....