diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-08-07 01:51:50 -0300 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-08-07 01:51:50 -0300 |
commit | 8534c5bf193c6a234d55116d520a54a1b634a93e (patch) | |
tree | ee3c604e911759f8f3962d7c7ea9d5c906b61eb5 /actionpack/lib/action_controller | |
parent | 9b506484f1e72aeba2f1fd4af3e39cf450f1d4a9 (diff) | |
download | rails-8534c5bf193c6a234d55116d520a54a1b634a93e.tar.gz rails-8534c5bf193c6a234d55116d520a54a1b634a93e.tar.bz2 rails-8534c5bf193c6a234d55116d520a54a1b634a93e.zip |
Start cleaning up partial path
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/metal/renderer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/renderer.rb b/actionpack/lib/action_controller/metal/renderer.rb index 572da451ff..5a458764ad 100644 --- a/actionpack/lib/action_controller/metal/renderer.rb +++ b/actionpack/lib/action_controller/metal/renderer.rb @@ -57,7 +57,7 @@ module ActionController when true options[:_prefix] = _prefix when String - options[:_prefix] = _prefix unless partial.index('/') + options[:_prefix] = _prefix unless partial.include?(?/) options[:_template_name] = partial else options[:_partial_object] = true |