fix dancer import issues

This commit is contained in:
Oliver Gorwits
2012-12-03 21:09:25 +00:00
parent 1db530652f
commit ed234bd2dc
3 changed files with 6 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env perl
use Dancer ':script';
use Dancer ':syntax :script';
use Dancer::Plugin::DBIC 'schema';
# add dispatch methods for each port control action
@@ -29,9 +29,6 @@ sub gd_preconfig {
sleep_time => 5,
};
# store for later access
var(nd_config => $config);
return (); # important
}