renaming :class option to :resource for load_and_authorize_resource which now supports a symbol for non models - closes #45

This commit is contained in:
Ryan Bates
2010-04-15 14:14:22 -07:00
parent f2a1695636
commit 23a5888fe0
6 changed files with 39 additions and 11 deletions
+5 -1
View File
@@ -1,6 +1,10 @@
1.1.0 (not released)
* Adding be_able_to RSpec matcher (thanks dchelimsky) - see issue #54
* Renaming :class option to :resource for load_and_authorize_resource which now supports a symbol for non models - see issue #45
* Properly handle Admin::AbilitiesController in params[:controller] - see issue #46
* Adding be_able_to RSpec matcher (thanks dchelimsky), requires Ruby 1.8.7 or higher - see issue #54
* Support additional arguments to can? which get passed to the block - see issue #48