simple_workflow 0.3.6 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple_workflow/helper.rb +1 -1
- data/lib/simple_workflow/version.rb +1 -1
- metadata +8 -8
@@ -31,7 +31,7 @@ module SimpleWorkflow::Helper
|
|
31
31
|
image_options ||= {:class => 'image-submit'}
|
32
32
|
image_options.update :alt => title, :title => title
|
33
33
|
with_params = link_options.delete(:with)
|
34
|
-
|
34
|
+
link_to image_tag(image_source, image_options), :url => link_options, :with => with_params, :html => (post ? {:method => :post} : {}).merge(:remote => true)
|
35
35
|
end
|
36
36
|
|
37
37
|
def detour?
|
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:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
version: 0.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Uwe Kubosch
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2013-01-04 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rails
|
@@ -27,10 +27,10 @@ dependencies:
|
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
hash: 7
|
29
29
|
segments:
|
30
|
-
- 2
|
31
30
|
- 3
|
32
|
-
-
|
33
|
-
|
31
|
+
- 0
|
32
|
+
- 0
|
33
|
+
version: 3.0.0
|
34
34
|
type: :runtime
|
35
35
|
version_requirements: *id001
|
36
36
|
description: Expands Ruby On Rails to allow simple detour workflows.
|