Permalink
Browse files

Fixed typos.

  • Loading branch information...
1 parent 600a3e1 commit e561532bab914f7dc1e54c141b0bac0c25890626 @manuelmeurer manuelmeurer committed Jul 21, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/cancan/controller_additions.rb
@@ -186,7 +186,7 @@ def skip_load_and_authorize_resource(*args)
skip_authorize_resource(*args)
end
- # Skip both the loading behavior of CanCan. This is useful when using +load_and_authorize_resource+ but want to
+ # Skip the loading behavior of CanCan. This is useful when using +load_and_authorize_resource+ but want to
# only do authorization on certain actions. You can pass :only and :except options to specify which actions to
# skip the effects on. It will apply to all actions by default.
#
@@ -202,7 +202,7 @@ def skip_load_resource(*args)
cancan_skipper[:load][name] = options
end
- # Skip both the authorization behavior of CanCan. This is useful when using +load_and_authorize_resource+ but want to
+ # Skip the authorization behavior of CanCan. This is useful when using +load_and_authorize_resource+ but want to
# only do loading on certain actions. You can pass :only and :except options to specify which actions to
# skip the effects on. It will apply to all actions by default.
#

0 comments on commit e561532

Please sign in to comment.