diff options
-rw-r--r-- | railties/guides/source/action_controller_overview.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/action_controller_overview.textile b/railties/guides/source/action_controller_overview.textile index 4c21d2cda6..f9b7a3fe14 100644 --- a/railties/guides/source/action_controller_overview.textile +++ b/railties/guides/source/action_controller_overview.textile @@ -59,7 +59,7 @@ class ClientsController < ActionController::Base # this action would look like this in order to list activated # clients: /clients?status=activated def index - if params[:status] = "activated" + if params[:status] == "activated" @clients = Client.activated else @clients = Client.unactivated |