corn_starch 1.3.27 → 1.3.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/corn_starch/corn_starch_helper.rb +7 -0
- data/lib/corn_starch/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: 4e0d91e70f9616c8cde98de1b3769ff55b78d3a5
|
4
|
+
data.tar.gz: b244cfb8ad55b67f1f96a22afd7c0c8b14abe9e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85312ee6388c49965076477aaff32f74190190f7a5e025593ea54a5373b4d2fc8d7541286e21498cd2740724a95c9a5f6de093fc2a9e88da217add38e5398209
|
7
|
+
data.tar.gz: c4708d0dbff49f348c26db87c5c314efad3aee200879457d4467dafa2969eff3dadd72c6dde70641161950c5538279a946757c6e545a7d46bd8761f10b765c44
|
@@ -18,6 +18,13 @@ module CornStarch
|
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
|
+
# Render Link
|
22
|
+
def render_link_to target, partial, text = nil, extra = nil
|
23
|
+
link_to target, extra do
|
24
|
+
render(partial) + (text ? ' ' + text : '')
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
21
28
|
# Class Masher
|
22
29
|
def class_mash base, classes
|
23
30
|
class_s = base
|
data/lib/corn_starch/version.rb
CHANGED