Permalink
Browse files

Merge pull request #926 from benmoss/patch-1

Fix docs typo [ci skip]
  • Loading branch information...
2 parents acf12c3 + 750e377 commit 2d507349700170bbefbb01a29ca6c5f83e795c83 @nashby nashby committed Sep 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cancan/controller_additions.rb
@@ -99,7 +99,7 @@ def load_and_authorize_resource(*args)
# [:+id_param+]
# Find using a param key other than :id. For example:
#
- # load_resource :id_key => :url # will use find(params[:url])
+ # load_resource :id_param => :url # will use find(params[:url])
#
# [:+collection+]
# Specify which actions are resource collection actions in addition to :+index+. This

0 comments on commit 2d50734

Please sign in to comment.