Permalink
Browse files

Change erroneous "unless" to "if" in documentation.

  • Loading branch information...
1 parent 444fb3e commit 106d1475461d8553ceadc96c8e6dda13e054ac9b @ffmike ffmike committed Sep 28, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/base.rb
@@ -252,7 +252,7 @@ class UnknownHttpMethod < ActionControllerError #:nodoc:
#
# def do_something
# redirect_to(:action => "elsewhere") and return if monkeys.nil?
- # render :action => "overthere" # won't be called unless monkeys is nil
+ # render :action => "overthere" # won't be called if monkeys is nil
# end
#
class Base

0 comments on commit 106d147

Please sign in to comment.