simple_workflow 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,8 +30,7 @@ module SimpleWorkflow::Helper
30
30
  def image_link_to_remote(image_source, title, link_options, image_options = nil, post = false)
31
31
  image_options ||= {:class => 'image-submit'}
32
32
  image_options.update :alt => title, :title => title
33
- with_params = link_options.delete(:with)
34
- link_to image_tag(image_source, image_options), :url => link_options, :with => with_params, :html => (post ? {:method => :post} : {}).merge(:remote => true)
33
+ link_to image_tag(image_source, image_options), link_options, (post ? {:method => :post} : {}).merge(:remote => true)
35
34
  end
36
35
 
37
36
  def detour?
@@ -1,3 +1,3 @@
1
1
  module SimpleWorkflow
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_workflow
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 0
10
- version: 0.4.0
9
+ - 1
10
+ version: 0.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Uwe Kubosch