Permalink
Browse files

Release 2.4.0

  • Loading branch information...
1 parent cb7695b commit 27808890ac793811b9faae25bdb51edd8b0645ee Nathan Long committed Feb 13, 2013
Showing with 5 additions and 1 deletion.
  1. +4 −0 CHANGELOG.markdown
  2. +1 −1 lib/authority/version.rb
View
@@ -2,6 +2,10 @@
Authority does its best to use [semantic versioning](http://semver.org).
+## v2.4.0
+
+Controller method `authorize_actions_for` can now be given a method name to dynamically determine the class to authorize. For example, `authorize_actions_for :model_class` will call the `model_class` method on the controller instance at request time.
+
## v2.3.2
- Updated `can?` to only pass options if it was given options.
@@ -1,3 +1,3 @@
module Authority
- VERSION = "2.3.2"
+ VERSION = "2.4.0"
end

0 comments on commit 2780889

Please sign in to comment.