explicit no-op layout so that layout hook gets triggered which makes API work
This commit is contained in:
@@ -14,7 +14,7 @@ get '/ajax/content/statistics' => require_login sub {
|
||||
var( nav => 'statistics' );
|
||||
template 'ajax/statistics.tt',
|
||||
{ stats => $stats },
|
||||
{ layout => undef };
|
||||
{ layout => 'noop' };
|
||||
};
|
||||
|
||||
true;
|
||||
|
||||
Reference in New Issue
Block a user