diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-10-03 15:35:19 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-10-03 15:35:19 -0500 |
commit | e4d5b69b57c21e334a0b26dbc90a9b6bca044781 (patch) | |
tree | be81c32f3427a2d963da5d98ae95b4e2ebebc6ad /actionpack/lib/action_dispatch | |
parent | 2f81be178fd000956974d53ad265fffa58b50090 (diff) | |
download | rails-e4d5b69b57c21e334a0b26dbc90a9b6bca044781.tar.gz rails-e4d5b69b57c21e334a0b26dbc90a9b6bca044781.tar.bz2 rails-e4d5b69b57c21e334a0b26dbc90a9b6bca044781.zip |
rename page_cache_extension option to default_static_extension
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/static.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/static.rb b/actionpack/lib/action_dispatch/middleware/static.rb index 9073e6582d..e3b15b43b9 100644 --- a/actionpack/lib/action_dispatch/middleware/static.rb +++ b/actionpack/lib/action_dispatch/middleware/static.rb @@ -29,7 +29,7 @@ module ActionDispatch def ext @ext ||= begin - ext = ::ActionController::Base.page_cache_extension + ext = ::ActionController::Base.default_static_extension "{,#{ext},/index#{ext}}" end end |