tudorconstantin / Mojolicious-Boilerplate

The Web in an **Awesome** Box
http://boilerplate-tudorconstantin.dotcloud.com/
96 stars 30 forks source link

/clujpm_gallery/slide doesn't return a true value at first access #2

Closed reezer closed 12 years ago

reezer commented 12 years ago

When accessing /clujpm_gallery/slide the first time (after a server start) it causes an exception:

Boilerplate/Gallery.pm did not return a true value at (eval 251) line 1.
tudorconstantin commented 12 years ago

Yep, I observed that too ... unfortunately, I didn't have time to fix it - I don't know how to yet - and errors seem to miss from logs too.

PS: Congratulations for being the first one who posts an issue to one of my repositories

reezer commented 12 years ago

Gallery.pm needs to return a true value to be considered loaded.

And I feel honoured. :)

tudorconstantin commented 12 years ago

Thank you very much for the quick fix - I have integrated your pull request