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
2 years ago
by
Nathalia Santos
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #726 from yuriresendematias/master
Modificações realizadas no sistema durante a sprint
parents
6ac4a6d1
095f8312
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
routes/web.php
+11
-0
routes/web.php
with
11 additions
and
0 deletions
+11
-0
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'
);
...
...
This diff is collapsed.
Click to expand it.
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