mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Reorganizando menus
This commit is contained in:
@ -15,21 +15,6 @@ $routes->get('/', 'Home::index');
|
||||
$routes->get('lang/{locale}', 'Language::index');
|
||||
$routes->get('viewmode/(:alpha)', 'Viewmode::index/$1');
|
||||
|
||||
//API ROUTER ------------------------------------------------------
|
||||
//------------------------------------------------------------------
|
||||
$routes->get('api/', 'Api::index');
|
||||
$routes->get('api/status', 'Api::status');
|
||||
$routes->post('api/signIn', 'Api::signIn');
|
||||
|
||||
//API ROUTER USER ------------------------------------------------------
|
||||
//------------------------------------------------------------------
|
||||
$routes->get('api/user/', 'Api::user/all');
|
||||
$routes->get('api/user/(:segment)', 'Api::user/id/$1');
|
||||
$routes->post('api/user/', 'Api::user/add');
|
||||
$routes->put('api/user/(:segment)', 'Api::user/edit/$1');
|
||||
$routes->delete('api/user/(:segment)', 'Api::user/delete/$1');
|
||||
|
||||
|
||||
/*
|
||||
* --------------------------------------------------------------------
|
||||
* Route Definitions
|
||||
|
||||
@ -1,27 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Config;
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
class Safekat extends BaseConfig
|
||||
{
|
||||
|
||||
public $appName = 'ERP Safekat 2.0';
|
||||
public $i18n = 'es-ES';
|
||||
public string $appName = 'ERP Safekat 2.0';
|
||||
public string $i18n = 'es-ES';
|
||||
|
||||
|
||||
public $vista_impresion = 'impresion';
|
||||
public $vista_maquetacion = 'maquetacion';
|
||||
public $vista_digitalizacion = 'digitalizacion';
|
||||
|
||||
public $languages = [
|
||||
public array $languages = [
|
||||
'en' => 'English',
|
||||
'es' => 'Spanish',
|
||||
];
|
||||
|
||||
|
||||
public $languageFlags = [
|
||||
public array $languageFlags = [
|
||||
'en' => 'us',
|
||||
'es' => 'es',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user