fix dancer import issues
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user