Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustavo Beathyate committed Sep 13, 2013
1 parent 19b88cc commit 3454059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>
Expand Down

0 comments on commit 3454059

Please sign in to comment.