role_authorization 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/role_authorization/exts/view.rb +2 -2
- data/lib/role_authorization/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
@@ -28,7 +28,7 @@ module RoleAuthorization
|
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
31
|
-
def link_to_secured(name, options = {}, html_options =
|
31
|
+
def link_to_secured(name, options = {}, html_options = {})
|
32
32
|
url = url_for(options)
|
33
33
|
|
34
34
|
method = (html_options && html_options.has_key?(:method)) ? html_options[:method] : :get
|
@@ -40,7 +40,7 @@ module RoleAuthorization
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
def button_to_secured(name, options = {}, html_options =
|
43
|
+
def button_to_secured(name, options = {}, html_options = {})
|
44
44
|
url = url_for(options)
|
45
45
|
|
46
46
|
method = (html_options && html_options.has_key?(:method)) ? html_options[:method] : :post
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: role_authorization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- John 'asceth' Long
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-03-
|
13
|
+
date: 2011-03-03 00:00:00 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|