protected function doCreateRoutes()
    {
        $providerRoutes = ezpRestProvider::getProvider( ezpRestPrefixFilterInterface::getApiProviderName() )->getRoutes();
        $providerRoutes['fatal'] = new ezpMvcRailsRoute( '/fatal', 'ezpRestErrorController', 'show' );

        return ezcMvcRouter::prefix(
            eZINI::instance( 'rest.ini' )->variable( 'System', 'ApiPrefix' ),
            $providerRoutes
        );
    }