Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed typos.

  • Loading branch information...
commit e561532bab914f7dc1e54c141b0bac0c25890626 1 parent 600a3e1
@manuelmeurer manuelmeurer authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/cancan/controller_additions.rb
View
4 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.
#
Please sign in to comment.
Something went wrong with that request. Please try again.