deckchair 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/deckchair/version.rb +1 -1
- data/lib/deckchair/view_helpers.rb +3 -8
- metadata +1 -1
data/.gitignore
CHANGED
data/lib/deckchair/version.rb
CHANGED
@@ -1,16 +1,11 @@
|
|
1
1
|
module Deckchair
|
2
2
|
module ViewHelpers
|
3
|
-
|
4
|
-
def dc_pre(text)
|
5
|
-
content_tag :pre, text
|
6
|
-
end
|
7
3
|
|
8
|
-
def
|
9
|
-
|
10
|
-
return result
|
4
|
+
def deckchair_version
|
5
|
+
return Deckchair::VERSION
|
11
6
|
end
|
12
7
|
|
13
|
-
def deckchair_image_url(id,
|
8
|
+
def deckchair_image_url(id, query_params)
|
14
9
|
return Deckchair::Image.url(id, query_params)
|
15
10
|
end
|
16
11
|
|