aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-04-15 21:11:54 +0200
committerJosé Valim <jose.valim@gmail.com>2011-04-15 21:11:54 +0200
commitd6bd606bddf8c385508aa4ee699bdd5f6eab635a (patch)
tree27809249d3aa6c938eca7e364f4578ccf9cf7b73 /actionpack/lib/abstract_controller
parentd5ad92ced1786b742c3ecce3cb60d851c7200bc9 (diff)
downloadrails-d6bd606bddf8c385508aa4ee699bdd5f6eab635a.tar.gz
rails-d6bd606bddf8c385508aa4ee699bdd5f6eab635a.tar.bz2
rails-d6bd606bddf8c385508aa4ee699bdd5f6eab635a.zip
render :once, YAGNI.
Diffstat (limited to 'actionpack/lib/abstract_controller')
-rw-r--r--actionpack/lib/abstract_controller/rendering.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb
index ecd0c4fb73..66f6d0eebb 100644
--- a/actionpack/lib/abstract_controller/rendering.rb
+++ b/actionpack/lib/abstract_controller/rendering.rb
@@ -174,7 +174,7 @@ module AbstractController
options[:partial] = action_name
end
- if (options.keys & [:partial, :file, :template, :once]).empty?
+ if (options.keys & [:partial, :file, :template]).empty?
options[:prefixes] ||= _prefixes
end