diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-08-04 22:22:06 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-03 22:59:12 +0200 |
commit | 8284fd38551c00c30cf89fa22d1afd503a08c516 (patch) | |
tree | 71a7ecc2879c088578bfe5d16072e1eb4eacfa00 /railties/lib/rails/engine | |
parent | d81267727770198f4aa0cefede042c8d0c638c59 (diff) | |
download | rails-8284fd38551c00c30cf89fa22d1afd503a08c516.tar.gz rails-8284fd38551c00c30cf89fa22d1afd503a08c516.tar.bz2 rails-8284fd38551c00c30cf89fa22d1afd503a08c516.zip |
Get rid of static_paths method and instead configure paths for ActionDispatch::Static in initializers
Diffstat (limited to 'railties/lib/rails/engine')
-rw-r--r-- | railties/lib/rails/engine/configuration.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/engine/configuration.rb b/railties/lib/rails/engine/configuration.rb index 9aac9c81d0..bce1cd6580 100644 --- a/railties/lib/rails/engine/configuration.rb +++ b/railties/lib/rails/engine/configuration.rb @@ -55,6 +55,10 @@ module Rails def autoload_paths @autoload_paths ||= paths.autoload_paths end + + def compiled_asset_path + asset_path % "" if asset_path + end end end end |