blocks 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,12 @@
1
- <%= table.define :edit do |options| %>
1
+ <%= table.define :edit do |row, options| %>
2
2
  <%= link_to "Edit", [:edit, options[:scope], options[:record]].flatten %>
3
3
  <% end %>
4
4
 
5
- <%= table.define :show do |options| %>
5
+ <%= table.define :show do |row, options| %>
6
6
  <%= link_to "Show", [options[:scope], options[:record]].flatten %>
7
7
  <% end %>
8
8
 
9
- <%= table.define :delete do |options| %>
9
+ <%= table.define :delete do |row, options| %>
10
10
  <%= link_to "Delete", [options[:scope], options[:record]].flatten, :method => "delete", :confirm => "Are you sure you want to delete this #{options[:record].class.to_s.humanize}?" %>
11
11
  <% end %>
12
12
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: blocks
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.3
5
+ version: 1.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andrew Hunter
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-02-17 00:00:00 -05:00
14
+ date: 2011-03-08 00:00:00 -05:00
15
15
  default_executable:
16
16
  dependencies: []
17
17