Skip to content
This repository
Browse code

Merge pull request #848 from twe4ked/fix-generated-file-whitespace

Fix whitespace in generated ability.rb
commit 4560928dc375f9b31de00381c98334eb6aabc4b9 2 parents f6c1052 + f38d3e2
Vasiliy Ermolovich authored
4  lib/generators/cancan/ability/templates/ability.rb
@@ -11,12 +11,12 @@ def initialize(user)
11 11
     #     can :read, :all
12 12
     #   end
13 13
     #
14  
-    # The first argument to `can` is the action you are giving the user 
  14
+    # The first argument to `can` is the action you are giving the user
15 15
     # permission to do.
16 16
     # If you pass :manage it will apply to every action. Other common actions
17 17
     # here are :read, :create, :update and :destroy.
18 18
     #
19  
-    # The second argument is the resource the user can perform the action on. 
  19
+    # The second argument is the resource the user can perform the action on.
20 20
     # If you pass :all it will apply to every resource. Otherwise pass a Ruby
21 21
     # class of the resource.
22 22
     #

0 notes on commit 4560928

Please sign in to comment.
Something went wrong with that request. Please try again.