public static function registerRoutes(Router $router)
    {
        $routeName = 'admin.display.async';
        if (! $router->has($routeName)) {
            $router->get('{adminModel}/async/{adminDisplayName?}', [
                'as'   => $routeName,
                'uses' => 'SleepingOwl\Admin\Http\Controllers\DisplayController@async',
            ]);
        }

        $routeName = 'admin.display.async.inlineEdit';
        if (! $router->has($routeName)) {
            $router->post('{adminModel}/async/{adminDisplayName?}', [
                'as'   => $routeName,
                'uses' => 'SleepingOwl\Admin\Http\Controllers\AdminController@inlineEdit',
            ]);
        }
    }
public static function registerRoutes(Router $router)
    {
        $routeName = 'admin.display.async';
        if (! $router->has($routeName)) {
            $router->get('{adminModel}/async/{adminDisplayName?}', [
                'as'   => $routeName,
                'uses' => 'SleepingOwl\Admin\Http\Controllers\DisplayController@async',
            ]);
        }

        $routeName = 'admin.display.async.inlineEdit';
        if (! $router->has($routeName)) {
            $router->post('{adminModel}/async/{adminDisplayName?}', [
                'as'   => $routeName,
                'uses' => 'SleepingOwl\Admin\Http\Controllers\AdminController@inlineEdit',
            ]);
        }
    }
public static function registerRoutes ( Router $ router ) { $ routeName = 'admin.display.async' ; if ( ! $ router -> has ( $ routeName ) ) { $ router -> get ( '{adminModel}/async/{adminDisplayName?}' , [ 'as' => $ routeName , 'uses' => 'SleepingOwl\Admin\Http\Controllers\DisplayController@async' , ] ) ; } $ routeName = 'admin.display.async.inlineEdit' ; if ( ! $ router -> has ( $ routeName ) ) { $ router -> post ( '{adminModel}/async/{adminDisplayName?}' , [ 'as' => $ routeName , 'uses' => 'SleepingOwl\Admin\Http\Controllers\AdminController@inlineEdit' , ] ) ; } }
Register display routes.

@param Router $router

@throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
Register display routes .