mde/geddy — pull request #289 by zinoviev (2012-12-21 14:39:22+00:00)
Title: Handlebars hash arguments as optional arguments support

Hi,

in geddy templates helpers where are lot of usage options objects like in

function urlFor(options)

We can't just pass JS object as argument inside template in handlebars,
but where are optional hash arguments for this, see handlebars documentation for reference

http://handlebarsjs.com/block_helpers.html

Issue: handlebars pass wrapped option object argument like this to geddy's function expecting plain options:
{ hash : { foo : 'bar', baz : 'bla' }}

With this fix we can use predefined geddy helpers with handlebars in clean way:

{{{urlFor host="mysite.com" controller="main" action="index" }}}