oFile::VERSION = '0.14';
# ABSTRACT: File-based MVC plugin for Dancer2
use Dancer2::Plugin;
use JSON;
use HTTP::Accept;
use Time::HiRes qw(time);
# Not sure if this is necessary at this point, as t
'view';
my %dofiles;
my $acceptext = {
'' => '',
'text/html' => '.html',
'application/json' => '.json'
};
sub BUILD {
my $self = shift;
my $settings = $self->config;
$settings