Permalink
Browse files

Merge pull request #7927 from josh/asset-path-helper

Refactor AssetUrlHelper
  • Loading branch information...
rafaelfranca committed Oct 15, 2012
2 parents 46dc6e7 + eafc2b0 commit 046ab843b84db1935047dbc796f5acae66c45a42
@@ -22,7 +22,6 @@ class Railtie < Rails::Railtie # :nodoc:
options.queue ||= app.queue
# make sure readers methods get compiled
options.asset_path ||= app.config.asset_path
options.asset_host ||= app.config.asset_host
options.relative_url_root ||= app.config.relative_url_root
@@ -3,7 +3,7 @@ module AssetPaths #:nodoc:
extend ActiveSupport::Concern
included do
config_accessor :asset_host, :asset_path, :assets_dir, :javascripts_dir,
config_accessor :asset_host, :assets_dir, :javascripts_dir,
:stylesheets_dir, :default_asset_host_protocol, :relative_url_root
end
end
@@ -34,7 +34,6 @@ class Railtie < Rails::Railtie #:nodoc:
options.stylesheets_dir ||= paths["public/stylesheets"].first
# Ensure readers methods get compiled
options.asset_path ||= app.config.asset_path
options.asset_host ||= app.config.asset_host
options.relative_url_root ||= app.config.relative_url_root
@@ -29,7 +29,6 @@ module ActionView
extend ActiveSupport::Autoload
eager_autoload do
autoload :AssetPaths
autoload :Base
autoload :Context
autoload :CompiledTemplates, "action_view/context"

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 046ab84

Please sign in to comment.