cleaning the house

This commit is contained in:
mynah
2020-01-20 14:49:59 -06:00
parent 252ec865b3
commit 7dfd107c04
81 changed files with 426 additions and 958 deletions

View File

@@ -22,11 +22,13 @@ use Dojo::Model::Vdgproc;
$r->any('/')->to('home#home_');
$r->any('/home')->to('home#home');
$r->any('/pod')->to('home#podcast');
$r->any('/store')->to('home#store');
# $r->any('/store')->to('home#store');
$r->any('/tv')->to('home#tv');
$r->any('/contact')->to('home#contact');
$r->any('/contact2')->to('home#contact2');
$r->any('/pang')->to('home#pang');
# json ==================
$r->any('/json/*dreq')->to('data#simple');
# =============================================================================
# de la tienda ================================================================
@@ -35,12 +37,7 @@ use Dojo::Model::Vdgproc;
$r->any('/spay/:class/:id' => [class => qr/\d+/, id => qr/\d+/])->to('proc#spay');
$r->any('/spay/intentCreate')->to('proc#intentCreate');
$r->any('/spay/intentConfirm')->to('proc#intentConfirm');
# =============================================================================
# por matar ===================================================================
$r->any('/xpay')->to('misc#stripe');
$r->any('/storep')->to('home#storep');
$r->any('/storep/:id' => [id => qr/\d+/])->to('home#storep');
$r->any('/spay/userCheck')->to('proc#userCheck');
# =============================================================================
# candy =======================================================================
@@ -48,10 +45,6 @@ use Dojo::Model::Vdgproc;
$r->any('/candy')->to('home#candy');
# =============================================================================
# json ========================================================================
$r->any('/json/*dreq')->to('data#simple');
# =============================================================================
# usuarios y accesos ==========================================================
$r->any('/reg')->to('users#reg');
@@ -74,14 +67,14 @@ use Dojo::Model::Vdgproc;
# admin =======================================================================
my $admin = $r->under('/admin')->to('users#is_admin');
$admin->any('')->to('home#admin');
$admin->any('home')->to('home#admin_home');
$admin->any('radio')->to('home#admin_radio');
$admin->any('eventos')->to('home#admin_eventos');
$admin->any('eventos/:type'=> [type=>['e','p','c']])->to('home#admin_eventos');
$admin->any('mensajes')->to('home#admin_mensajes');
$admin->any('tienda')->to('home#admin_tienda');
$admin->any('json/:dreq/:id')->to('home#admin_json');
$admin->any('')->to('admin#admin');
$admin->any('home')->to('admin#admin');
$admin->any('radio')->to('admin#radio');
$admin->any('eventos')->to('admin#eventos');
$admin->any('eventos/:type'=> [type=>['e','p','c']])->to('admin#eventos');
$admin->any('mensajes')->to('admin#mensajes');
$admin->any('tienda')->to('admin#tienda');
$admin->any('json/:dreq/:id')->to('admin#json');
# =============================================================================