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
26c8eafe
Unverified
Commit
26c8eafe
authored
May 12, 2023
by
Yuri Resende
Committed by
GitHub
May 12, 2023
Browse files
Merge pull request #834 from yuriresendematias/master
Possibilitando a criação do edital pelo administrador
parents
0dc5ef5f
cdd1adac
Changes
1
Hide whitespace changes
Inline
Side-by-side
routes/web.php
View file @
26c8eafe
...
...
@@ -324,7 +324,7 @@ Route::prefix('cursos')->name('cursos.')->group(function (){
//############ Evento ##############################################
Route
::
prefix
(
'evento'
)
->
name
(
'evento.'
)
->
group
(
function
()
{
Route
::
get
(
'/criar'
,
'EventoController@create'
)
->
name
(
'criar'
)
->
middleware
(
'checkRoles:coordenador,administrador'
);
Route
::
post
(
'/criar'
,
'EventoController@store'
)
->
name
(
'criar'
)
->
middleware
(
'checkRoles:coordenador,
checkA
dministrador'
);
Route
::
post
(
'/criar'
,
'EventoController@store'
)
->
name
(
'criar'
)
->
middleware
(
'checkRoles:coordenador,
a
dministrador'
);
Route
::
get
(
'/visualizar/{id}'
,
'EventoController@show'
)
->
name
(
'visualizar'
)
->
middleware
(
'auth'
);
Route
::
get
(
'/listar'
,
'EventoController@listar'
)
->
name
(
'listar'
)
->
middleware
(
'auth'
);
Route
::
delete
(
'/excluir/{id}'
,
'EventoController@destroy'
)
->
name
(
'deletar'
)
->
middleware
(
'checkRoles:coordenador,administrador'
);
...
...
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