Skip to content

Commit

Permalink
fix: update sencha webapp rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
themightychris committed Aug 27, 2019
1 parent e6276ab commit b034781
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static function handleDashboardRequest()
{
$GLOBALS['Session']->requireAuthentication();

return static::sendResponse(SenchaApp::load('SlateDemonstrationsStudent')->render(), 'webapps/SlateDemonstrationsStudent');
return static::sendResponse(SenchaApp::load('SlateDemonstrationsStudent')->render());
}

public static function handleBootstrapRequest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function handleDashboardRequest()
{
$GLOBALS['Session']->requireAccountLevel('Staff');

return static::sendResponse(SenchaApp::load('SlateDemonstrationsTeacher')->render(), 'webapps/SlateDemonstrationsTeacher');
return static::sendResponse(SenchaApp::load('SlateDemonstrationsTeacher')->render());
}

public static function handleBootstrapRequest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function handleDashboardRequest()
{
$GLOBALS['Session']->requireAccountLevel('Staff');

return static::sendResponse(SenchaApp::load('SlateStudentCompetenciesAdmin')->render(), 'webapps/SlateStudentCompetenciesAdmin');
return static::sendResponse(SenchaApp::load('SlateStudentCompetenciesAdmin')->render());
}

public static function handleBootstrapRequest()
Expand Down
2 changes: 1 addition & 1 deletion php-classes/Slate/CBL/Tasks/ManagerRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static function handleDashboardRequest()
{
$GLOBALS['Session']->requireAccountLevel('Staff');

return static::sendResponse(SenchaApp::load('SlateTasksManager')->render(), 'webapps/SlateTasksManager');
return static::sendResponse(SenchaApp::load('SlateTasksManager')->render());
}

public static function handleBootstrapRequest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function handleDashboardRequest()
{
$GLOBALS['Session']->requireAuthentication();

return static::sendResponse(SenchaApp::load('SlateTasksStudent')->render(), 'webapps/SlateTasksStudent');
return static::sendResponse(SenchaApp::load('SlateTasksStudent')->render());
}

public static function handleBootstrapRequest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function handleDashboardRequest()
{
$GLOBALS['Session']->requireAccountLevel('Staff');

return static::sendResponse(SenchaApp::load('SlateTasksTeacher')->render(), 'webapps/SlateTasksTeacher');
return static::sendResponse(SenchaApp::load('SlateTasksTeacher')->render());
}

public static function handleBootstrapRequest()
Expand Down

0 comments on commit b034781

Please sign in to comment.