tanga_namespaced_helpers 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,14 @@ require "tanga_namespaced_helpers/version"
|
|
5
5
|
module TangaNamespacedHelpers
|
6
6
|
def self.reset! controller
|
7
7
|
@view = controller.view_context
|
8
|
+
|
9
|
+
# Hack to get Haml helpers available
|
10
|
+
if defined? Haml
|
11
|
+
class << @view
|
12
|
+
include Haml::Helpers
|
13
|
+
end
|
14
|
+
@view.init_haml_helpers
|
15
|
+
end
|
8
16
|
end
|
9
17
|
|
10
18
|
def self.view
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tanga_namespaced_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Joe Van Dyk
|