mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Also move asset_path to AbstractController.
This commit is contained in:
parent
affeb51569
commit
2af8fd2829
2 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,7 @@ module AbstractController
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
included do
|
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
|
end
|
||||||
end
|
end
|
|
@ -63,7 +63,6 @@ module ActionController
|
||||||
klass.helper :all
|
klass.helper :all
|
||||||
end
|
end
|
||||||
|
|
||||||
config_accessor :asset_path
|
|
||||||
ActiveSupport.run_load_hooks(:action_controller, self)
|
ActiveSupport.run_load_hooks(:action_controller, self)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue