deckchair 0.0.10 → 0.0.11
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.
- 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
|
|