]> git.ktnx.net Git - lsl.git/blobdiff - lib/App/LazyShoppingList/Web.pm
debug messages in development environment
[lsl.git] / lib / App / LazyShoppingList / Web.pm
index b2ecbf1c20abf8cc11e32eec1f4f4bb31332a99d..e51c314c56efcf37d7db0079f67deec524b11ceb 100644 (file)
@@ -15,6 +15,7 @@ set charset => 'UTF-8';
 
 # main web-application
 get '/' => sub {
+    set environment => $ENV{PLACK_ENV};
     template 'index' => { 'title' => 'App::REST::LazyShoppingList' };
 };