Permalink
Browse files

Also move asset_path to AbstractController.

  • Loading branch information...
1 parent affeb51 commit 2af8fd2829ec573ef7da8a44d31e5f25ef4a8408 @josevalim josevalim committed Jul 23, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −1 actionpack/lib/abstract_controller/asset_paths.rb
  2. +0 −1 actionpack/lib/action_controller/base.rb
@@ -3,7 +3,7 @@ module AssetPaths
extend ActiveSupport::Concern
included do
- config_accessor :asset_host, :assets_dir, :javascripts_dir, :stylesheets_dir
+ config_accessor :asset_host, :asset_path, :assets_dir, :javascripts_dir, :stylesheets_dir
end
end
end
@@ -63,7 +63,6 @@ def self.inherited(klass)
klass.helper :all
end
- config_accessor :asset_path
ActiveSupport.run_load_hooks(:action_controller, self)
end
end

0 comments on commit 2af8fd2

Please sign in to comment.