acts_as_controller_for 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ module ActsAsControllerFor
11
11
  class_variable_set :@@options, options
12
12
 
13
13
  # Load and authorize (via +cancan+ gem) if set to
14
- load_and_authorize_resource if options[:load_and_authorize]
14
+ load_and_authorize_resource options[:load_and_authorize] if options[:load_and_authorize]
15
15
 
16
16
  # Define actions...
17
17
  include InstanceMethods
@@ -2,7 +2,7 @@ module ActsAsControllerFor
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 3
5
+ TINY = 4
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: acts_as_controller_for
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jay Hayes