action_links 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -0
- data/Gemfile +0 -0
- data/README.rdoc +0 -0
- data/Rakefile +0 -0
- data/lib/action_links/helpers.rb +1 -2
- data/lib/action_links/list.rb +1 -1
- data/lib/action_links/version.rb +1 -1
- metadata +3 -3
data/.gitignore
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/README.rdoc
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/lib/action_links/helpers.rb
CHANGED
@@ -16,12 +16,11 @@ module ActionLinks
|
|
16
16
|
|
17
17
|
links.compact!
|
18
18
|
|
19
|
-
content_tag(list.options[:list_wrapper], :class
|
19
|
+
content_tag(list.options[:list_wrapper], :class=>list.options[:list_wrapper_class]) do
|
20
20
|
links.map{ |link|
|
21
21
|
content_tag(list.options[:link_wrapper], link, :class=>list.options[:link_wrapper_class])
|
22
22
|
}.join("\n").html_safe
|
23
23
|
end
|
24
24
|
end
|
25
|
-
|
26
25
|
end
|
27
26
|
end
|
data/lib/action_links/list.rb
CHANGED
data/lib/action_links/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: action_links
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2012-05-02 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: Automatically includes action links (show, edit, destroy) based on the
|
16
16
|
current page and user roles/permissions
|
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
51
|
version: '0'
|
52
52
|
requirements: []
|
53
53
|
rubyforge_project: action_links
|
54
|
-
rubygems_version: 1.8.
|
54
|
+
rubygems_version: 1.8.19
|
55
55
|
signing_key:
|
56
56
|
specification_version: 3
|
57
57
|
summary: Quick and painless action links
|