Rapi-Demo-CrudModes
view release on metacpan or search on metacpan
lib/Rapi/Demo/CrudModes.pm view on Meta::CPAN
has 'local_template_dir', is => 'ro', isa => Str, lazy => 1, default => sub {
my $self = shift;
dir( $self->data_dir, 'templates' )->stringify
};
has '_template_include_paths', is => 'ro', lazy => 1, default => sub {
my $self = shift;
# overlay local, writable templates with installed,
# read-only templates installed in the share dir
return [ $self->local_template_dir, $self->_tpl_dir ];
}, isa => ArrayRef[Str];
has '_assets_dir', is => 'ro', lazy => 1, default => sub {
my $self = shift;
my $loc_assets_dir = join('/',$self->share_dir,'assets');
-d $loc_assets_dir or die join('',
( run in 0.254 second using v1.01-cache-2.11-cpan-26ccb49234f )