Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
Revert "Removed old ExtAdm routes"
Browse files Browse the repository at this point in the history
This reverts commit 7f346c3.
  • Loading branch information
aimeos committed Oct 23, 2017
1 parent 2455d7c commit 012d0b9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/aimeos-routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,23 @@
});


$app->group( $config( 'routes/extadm', '/admin/{site}/extadm' ), function() use ( $config ) {

$this->map(['GET'], '/file', function( $request, $response, $args ) {
return \Aimeos\Slim\Controller\Extadm::fileAction( $this, $request, $response, $args );
})->setName( 'aimeos_shop_extadm_file' );

$this->map(['POST'], '/do', function( $request, $response, $args ) {
return \Aimeos\Slim\Controller\Extadm::doAction( $this, $request, $response, $args );
})->setName( 'aimeos_shop_extadm_json' );

$this->map(['GET'], '[/{lang}[/{tab:[0-9]+}]]', function( $request, $response, $args ) {
return \Aimeos\Slim\Controller\Extadm::indexAction( $this, $request, $response, $args );
})->setName( 'aimeos_shop_extadm' );

});


$app->group( $config( 'routes/jqadm', '/admin/{site}/jqadm' ), function() use ( $config ) {

$this->map(['GET'], '/file/{type}', function( $request, $response, $args ) {
Expand Down

0 comments on commit 012d0b9

Please sign in to comment.