/** * Adds the CRUD methods for the / route of the application * @param Blocklyduino $app The current application */ public static function addFrameRoute(Blocklyduino $app) { $app->get('/blocklyframe', function (Blocklyduino $app) { return $app['twig']->render('frame.html.twig'); })->bind('blocklyframe'); }