simple_workflow 0.4.4 → 0.4.5
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.
- checksums.yaml +4 -4
- data/History.rdoc +7 -0
- data/lib/simple_workflow/helper.rb +5 -1
- data/lib/simple_workflow/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce2c9685c0da7bdcc2fce90f9c33aebd9157316e
|
4
|
+
data.tar.gz: 670c4cfcdeed3ac6d9a8a5bc1f59cd8d9205a3f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bef8174a00f8f63c991373842b4d5715e6468b16b338201e9dd54c500ca2da76533797a8d9a9ca2b20f372290302389a4a9014904a2f1c71da96539ae9fd207
|
7
|
+
data.tar.gz: adcc7039a8dbb3655c7c3f44bfa728872a18217cb0ff6c48746e50bd5465b92c5b94839242751edfe71a2afca9348ddbd2578b9668a7f02a21d07e4ea0ea74ac
|
data/History.rdoc
CHANGED
@@ -6,7 +6,11 @@ module SimpleWorkflow::Helper
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def detour_to(title, options, html_options = nil)
|
9
|
-
link_to title, with_detour(options), html_options
|
9
|
+
link_with_detour = link_to title, with_detour(options), html_options
|
10
|
+
if link_with_detour.size > 4096 # URL maximum size overflow
|
11
|
+
return link_to title, options, html_options
|
12
|
+
end
|
13
|
+
link_with_detour
|
10
14
|
end
|
11
15
|
|
12
16
|
def with_detour(options, back_options = {})
|