action_links 0.2.1 → 0.2.2
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/link.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/link.rb
CHANGED
@@ -49,7 +49,7 @@ module ActionLinks
|
|
49
49
|
@html_options[:remote] = true if remote?
|
50
50
|
|
51
51
|
if action == :destroy
|
52
|
-
@html_options.merge! :method=>:delete, :confirm=>I18n.t(:confirm_delete, :scope=>'action_links', :default=>'Are you sure?')
|
52
|
+
@html_options.merge! :method=>:delete, :data=>{ :confirm=>I18n.t(:confirm_delete, :scope=>'action_links', :default=>'Are you sure?') }
|
53
53
|
end
|
54
54
|
|
55
55
|
@html_options
|
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.2
|
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: 2012-
|
13
|
+
date: 2012-06-30 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.24
|
55
55
|
signing_key:
|
56
56
|
specification_version: 3
|
57
57
|
summary: Quick and painless action links
|