kelredd-useful 0.1.8 → 0.1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/useful/sinatra_helpers/tags.rb +4 -0
- data/lib/useful/version.rb +2 -1
- metadata +1 -1
@@ -13,6 +13,10 @@ module Sinatra
|
|
13
13
|
tag(:a, options) { content }
|
14
14
|
end
|
15
15
|
|
16
|
+
def mail_link_to(email)
|
17
|
+
link_to email, "mailto: #{email}"
|
18
|
+
end
|
19
|
+
|
16
20
|
# helper to emulate 'image_tag'
|
17
21
|
# => inspired from vanntastic-sinatra-gen gem, http://github.com/vanntastic/sinatra-gen/tree/master
|
18
22
|
# helper for image_tags
|
data/lib/useful/version.rb
CHANGED