helpers break with config.yml present #2

mtths opened this Issue Mar 25, 2014 · 1 comment


None yet

2 participants


Tests work fine, but once i try to integrate handlebars into an app with helpers the routes with helpers fail (if a config.yml is present).

steps to reproduce:
1) download testapp from
2) start the app with plackup on port 5000 # plackup -a bin/
3) point your browser to http://localhost:5000 -> this should render fine
4) point your browser to http://localhost:5000/h1 -> this fails with

Text::Xslate::Syntax::Handlebars: Unexpected key, near shout, while parsing 
templates (/home/mz/dev/MyApp/views/h1.hbs:2) at 
/usr/local/share/perl/5.14.2/Dancer/Template/ line 116.
hi {{shout name}}!

5) remove or move config.yml # mv config.yml config.broken
6) http://localhost:5000/h1 works now

@yanick yanick added a commit that closed this issue Mar 25, 2014
@yanick deleting the config key was a bad idea
Fixes #2
@yanick yanick closed this in e0f326c Mar 25, 2014

Ooops. Problem fixed, and new release pushed on CPAN. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment