|
@@ -25,28 +25,28 @@ export default function MyRoutes () {
|
25
|
25
|
<Routes>
|
26
|
26
|
|
27
|
27
|
<Route path="/" element={<Navigate to='login'/>} />
|
28
|
|
- <Route path="psicoadmin" element={<Navigate to='/login'/>} />
|
29
|
|
- <Route path="login" element={<Login/>} />
|
30
|
|
- <Route path="password/recuperar" element={<RestorePassword/>} />
|
|
28
|
+ <Route path="/psicoadmin" element={<Navigate to='/login'/>} />
|
|
29
|
+ <Route path="/psicoadmin/login" element={<Login/>} />
|
|
30
|
+ <Route path="/psicoadmin/password/recuperar" element={<RestorePassword/>} />
|
31
|
31
|
<Route
|
32
|
|
- path="dashboard"
|
|
32
|
+ path="/psicoadmin/dashboard"
|
33
|
33
|
element={
|
34
|
34
|
<RequireAuth>
|
35
|
35
|
<Dashboard/>
|
36
|
36
|
</RequireAuth>
|
37
|
37
|
}
|
38
|
38
|
>
|
39
|
|
- <Route path="home" element={<Home/>} />
|
40
|
|
- <Route path="puestos" element={<Puestos/>} />
|
41
|
|
- <Route path="perfil" element={<Profile/>} />
|
42
|
|
- <Route path="contrasenas" element={<Contras/>} />
|
43
|
|
- <Route path="expedientes" element={<Expedientes/>} />
|
44
|
|
- <Route path="resultados" element={<Resultados/>} />
|
45
|
|
- <Route path="configuraciones" element={<Configuracion/>} />
|
46
|
|
- <Route path="historial" element={<Historial/>} />
|
47
|
|
- <Route path="pruebas/listar" element={<Pruebas/>} />
|
48
|
|
- <Route path="pruebas/crear" element={<PruebaNueva/>} />
|
49
|
|
- <Route path="pruebas/aplicar" element={<PruebaAsignar/>} />
|
|
39
|
+ <Route path="/psicoadmin/home" element={<Home/>} />
|
|
40
|
+ <Route path="/psicoadmin/puestos" element={<Puestos/>} />
|
|
41
|
+ <Route path="/psicoadmin/perfil" element={<Profile/>} />
|
|
42
|
+ <Route path="/psicoadmin/contrasenas" element={<Contras/>} />
|
|
43
|
+ <Route path="/psicoadmin/expedientes" element={<Expedientes/>} />
|
|
44
|
+ <Route path="/psicoadmin/resultados" element={<Resultados/>} />
|
|
45
|
+ <Route path="/psicoadmin/configuraciones" element={<Configuracion/>} />
|
|
46
|
+ <Route path="/psicoadmin/historial" element={<Historial/>} />
|
|
47
|
+ <Route path="/psicoadmin/pruebas/listar" element={<Pruebas/>} />
|
|
48
|
+ <Route path="/psicoadmin/pruebas/crear" element={<PruebaNueva/>} />
|
|
49
|
+ <Route path="/psicoadmin/pruebas/aplicar" element={<PruebaAsignar/>} />
|
50
|
50
|
</Route>
|
51
|
51
|
<Route path="*" element={<NotFound/>}/>
|
52
|
52
|
|