pakyow-presenter/lib/presenter/helpers.rb in pakyow-presenter-0.7.2 vs pakyow-presenter/lib/presenter/helpers.rb in pakyow-presenter-0.8rc1
- old
+ new
@@ -2,7 +2,15 @@
module Helpers
def presenter
Pakyow.app.presenter.current_context = self
Pakyow.app.presenter
end
+
+ def bindings(name)
+ presenter.bindings(name).bindings
+ end
+
+ def view
+ self.presenter.view
+ end
end
end