diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-02-21 23:46:53 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-02-21 23:48:47 +0530 |
commit | cc848d625068013b86dd24f316c3f5d538379a70 (patch) | |
tree | 47b87023b4d7b748f43a0268100e6de29de8506c | |
parent | f92c81213c775250b4063a5f1cd5da3e3922cbc4 (diff) | |
download | rails-cc848d625068013b86dd24f316c3f5d538379a70.tar.gz rails-cc848d625068013b86dd24f316c3f5d538379a70.tar.bz2 rails-cc848d625068013b86dd24f316c3f5d538379a70.zip |
fix bad docs from f373f296 [ci skip]
-rw-r--r-- | actionpack/lib/action_view/lookup_context.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/lookup_context.rb b/actionpack/lib/action_view/lookup_context.rb index 3bb2b98e48..c9217b6913 100644 --- a/actionpack/lib/action_view/lookup_context.rb +++ b/actionpack/lib/action_view/lookup_context.rb @@ -188,9 +188,9 @@ module ActionView initialize_details(details) end - # Freeze the current formats in the lookup context. By freezing them, you - # that next template lookups are not going to modify the formats. The con - # use this, to ensure that formats won't be further modified (as it does + # Freeze the current formats in the lookup context. By freezing them, you are guaranteeing + # that next template lookups are not going to modify the formats. The controller can also + # use this, to ensure that formats won't be further modified (as it does in respond_to blocks). def freeze_formats(formats, unless_frozen=false) #:nodoc: return if unless_frozen && @frozen_formats self.formats = formats |