Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
2be90919
Unverified
Commit
2be90919
authored
Feb 28, 2023
by
Nathalia Santos
Committed by
GitHub
Feb 28, 2023
Browse files
Merge pull request #726 from yuriresendematias/master
Modificações realizadas no sistema durante a sprint
parents
6ac4a6d1
095f8312
Changes
21
Hide whitespace changes
Inline
Side-by-side
routes/web.php
View file @
2be90919
...
...
@@ -297,6 +297,17 @@ Route::prefix('naturezas')->group(function () {
Route
::
get
(
'/funcao-participante/{id}/destroy'
,
'ParticipanteController@destroyFuncao'
)
->
name
(
'funcao_participante.destroy'
);
});
Route
::
prefix
(
'cursos'
)
->
name
(
'cursos.'
)
->
group
(
function
(){
//#################### Rotas de cursos #########################
Route
::
get
(
'index'
,
'CursoController@index'
)
->
name
(
'index'
)
->
middleware
(
'checkAdministrador'
);
Route
::
get
(
'nova'
,
'CursoController@create'
)
->
name
(
'criar'
)
->
middleware
(
'checkAdministrador'
);
Route
::
post
(
'salvar'
,
'CursoController@store'
)
->
name
(
'salvar'
)
->
middleware
(
'checkAdministrador'
);
Route
::
get
(
'editar/{id}'
,
'CursoController@edit'
)
->
name
(
'editar'
)
->
middleware
(
'checkAdministrador'
);
Route
::
post
(
'editar/{id}'
,
'CursoController@update'
)
->
name
(
'update'
)
->
middleware
(
'checkAdministrador'
);
Route
::
delete
(
'exluir/{id}'
,
'CursoController@destroy'
)
->
name
(
'excluir'
)
->
middleware
(
'checkAdministrador'
);
//Route::get('novo')->name('novo');
});
//############ Evento ##############################################
Route
::
prefix
(
'evento'
)
->
name
(
'evento.'
)
->
group
(
function
()
{
Route
::
get
(
'/criar'
,
'EventoController@create'
)
->
name
(
'criar'
)
->
middleware
(
'checkAdministrador'
);
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment