aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base.rb
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2005-10-16 15:42:03 +0000
committerJamis Buck <jamis@37signals.com>2005-10-16 15:42:03 +0000
commit1c057b7237c98d948b08b80c0ac403cda3028dab (patch)
tree455dc930b10a4408f4b25fb97c156a6abdb8a755 /actionpack/lib/action_controller/base.rb
parent59f1df1b5b37a9e16a6b03d931c7b620075034d5 (diff)
downloadrails-1c057b7237c98d948b08b80c0ac403cda3028dab.tar.gz
rails-1c057b7237c98d948b08b80c0ac403cda3028dab.tar.bz2
rails-1c057b7237c98d948b08b80c0ac403cda3028dab.zip
Update/clean up AP documentation (rdoc)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rwxr-xr-xactionpack/lib/action_controller/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 6b9456cf1f..4cb8c11588 100755
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -46,7 +46,7 @@ module ActionController #:nodoc:
# end
#
# def sign
- # Entry.create(@params["entry"])
+ # Entry.create(params[:entry])
# redirect_to :action => "index"
# end
# end
@@ -83,7 +83,7 @@ module ActionController #:nodoc:
#
# def hello_ip
# location = request.env["REMOTE_IP"]
- # render_text "Hello stranger from #{location}"
+ # render :text => "Hello stranger from #{location}"
# end
#
# == Parameters