diff options
author | Yehuda Katz <wycats@Yehuda-Katz.local> | 2009-12-20 14:07:19 -0800 |
---|---|---|
committer | Yehuda Katz <wycats@Yehuda-Katz.local> | 2009-12-20 14:07:32 -0800 |
commit | e48b4c2dd01877ace901e1c186d04605b53b40d0 (patch) | |
tree | 34573441a468cd7df3863a6ddf3526051380e763 /activesupport | |
parent | 8b4735fbd9d5f6bd0c5d04688cc5edcd9b00ccf0 (diff) | |
download | rails-e48b4c2dd01877ace901e1c186d04605b53b40d0.tar.gz rails-e48b4c2dd01877ace901e1c186d04605b53b40d0.tar.bz2 rails-e48b4c2dd01877ace901e1c186d04605b53b40d0.zip |
:to => redirect() can take a String using 1.9-style interpolation or proc that takes the path parameters as a Hash
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/ruby/shim.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/ruby/shim.rb b/activesupport/lib/active_support/ruby/shim.rb index f811239077..1e49ccdade 100644 --- a/activesupport/lib/active_support/ruby/shim.rb +++ b/activesupport/lib/active_support/ruby/shim.rb @@ -14,5 +14,6 @@ require 'active_support/core_ext/date_time/conversions' require 'active_support/core_ext/enumerable' require 'active_support/core_ext/process/daemon' require 'active_support/core_ext/string/conversions' +require 'active_support/core_ext/string/interpolation' require 'active_support/core_ext/rexml' require 'active_support/core_ext/time/conversions' |