Skip to content

Commit

Permalink
Merge pull request ryanb#848 from twe4ked/fix-generated-file-whitespace
Browse files Browse the repository at this point in the history
Fix whitespace in generated ability.rb
  • Loading branch information
nashby committed Sep 6, 2013
2 parents f6c1052 + f38d3e2 commit 4560928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/generators/cancan/ability/templates/ability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ def initialize(user)
# can :read, :all
# end
#
# The first argument to `can` is the action you are giving the user
# The first argument to `can` is the action you are giving the user
# permission to do.
# If you pass :manage it will apply to every action. Other common actions
# here are :read, :create, :update and :destroy.
#
# The second argument is the resource the user can perform the action on.
# The second argument is the resource the user can perform the action on.
# If you pass :all it will apply to every resource. Otherwise pass a Ruby
# class of the resource.
#
Expand Down

0 comments on commit 4560928

Please sign in to comment.