<NME> render.rb
<BEF> # encoding: utf-8

require "rango" # logger
require "rango/template"

module Rango
  module RenderMixin
    extend self # so you can use Rango::RenderMixin.render

    # @since 0.0.2
    def render(path, scope = Object.new, context = Hash.new)
      scope, context = Object.new, scope if context.empty? && scope.is_a?(Hash)
      #Rango.logger.inspect(context: context)
      template = TemplateInheritance::Template.new(path, scope)
      return template.render(context)
    end
  end
end
    # This context will be extended by same crucial methods from template mixin
    # We are in context of current controller by default
    def context
      Object.new
    end

    # RENDERING #

<MSG> Extend context by helpers

<DFF> @@ -62,7 +62,7 @@ module Rango
     # This context will be extended by same crucial methods from template mixin
     # We are in context of current controller by default
     def context
-      Object.new
+      Object.new.extend(Rango::Helpers)
     end
 
     # RENDERING #

Extend context by helpers