diff options
author | rohit <rohit.arondekar@gmail.com> | 2010-04-30 11:24:32 +0530 |
---|---|---|
committer | rohit <rohit.arondekar@gmail.com> | 2010-04-30 11:24:32 +0530 |
commit | 7d0027554b984bd9e531cda27862a541e511750b (patch) | |
tree | 304d3ff09712d23a4b53553c7e127766a2796d2e /railties/guides/source/getting_started.textile | |
parent | 0bd631419ecf52844d43dd2c05b244d221d66bf3 (diff) | |
download | rails-7d0027554b984bd9e531cda27862a541e511750b.tar.gz rails-7d0027554b984bd9e531cda27862a541e511750b.tar.bz2 rails-7d0027554b984bd9e531cda27862a541e511750b.zip |
Rewrote Security para and a minor fix
Diffstat (limited to 'railties/guides/source/getting_started.textile')
-rw-r--r-- | railties/guides/source/getting_started.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index 1664e2a7ec..0f4324d9a5 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -1204,9 +1204,9 @@ end h3. Security -Before you publish your blog online, you will most likely want to prevent just anyone from being able to add, edit and delete posts or delete comments. +If you were to publish your blog online, anybody would be able to add, edit and delete posts or delete comments. -Rails provides a very simple http authentication system that will work nicely in this situation. First, we enable simple HTTP based authentication in our <tt>app/controllers/application_controller.rb</tt>: +Rails provides a very simple HTTP authentication system that will work nicely in this situation. First, we enable simple HTTP based authentication in our <tt>app/controllers/application_controller.rb</tt>: <ruby> class ApplicationController < ActionController::Base |