restful_acl 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/restful_acl_controller.rb +1 -1
- data/lib/restful_acl_helper.rb +1 -1
- metadata +3 -3
@@ -12,7 +12,7 @@ module RestfulAclController
|
|
12
12
|
|
13
13
|
begin
|
14
14
|
# Load the Model based on the controller name
|
15
|
-
klass = self.controller_name.classify.constantize
|
15
|
+
klass = self.controller_name.classify.demodulize.constantize
|
16
16
|
|
17
17
|
if params[:id]
|
18
18
|
# Load the object and possible parent requested
|
data/lib/restful_acl_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restful_acl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Darby
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-11-20 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -32,7 +32,7 @@ files:
|
|
32
32
|
- lib/restful_acl_model.rb
|
33
33
|
- rails/init.rb
|
34
34
|
- uninstall.rb
|
35
|
-
has_rdoc:
|
35
|
+
has_rdoc: false
|
36
36
|
homepage: http://github.com/mdarby/restful_acl
|
37
37
|
licenses: []
|
38
38
|
|