fixes to main app to support reports
This commit is contained in:
@@ -5,6 +5,9 @@ use Dancer ':syntax';
|
||||
get '/report/*' => sub {
|
||||
my ($tag) = splat;
|
||||
|
||||
# trick the ajax into working as if this were a tabbed page
|
||||
params->{tab} = $tag;
|
||||
|
||||
var(nav => 'reports');
|
||||
template 'report', {
|
||||
report => setting('reports')->{ $tag },
|
||||
|
||||
Reference in New Issue
Block a user