From 345405994f1a93ef6bd4057614a8b2700a5a3587 Mon Sep 17 00:00:00 2001 From: Gustavo Beathyate Date: Fri, 13 Sep 2013 18:08:26 -0500 Subject: [PATCH] fix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 822e026..87fee89 100644 --- a/README.md +++ b/README.md @@ -161,8 +161,8 @@ end That can also be useful on the views because you get a `current_permission` helper that you can use like this: ```erb -<%= form_for current_resource do |f| %> - <% current_permission.write_allowed_params.each do |p| %> +<%= form_for @contact do |f| %> + <% current_permission.write_allowed_params[:contact].each do |p| %> <%= f.text_field p %> <% end %>