Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix docs typo #926

Merged
merged 1 commit into from

2 participants

This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/cancan/controller_additions.rb
View
2  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
Something went wrong with that request. Please try again.