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
7ccae9d4
Unverified
Commit
7ccae9d4
authored
Jul 14, 2020
by
Gabriel Antônio da Silva
Committed by
GitHub
Jul 14, 2020
Browse files
Merge pull request #66 from lmts-ufape/master-test
Master test
parents
a0f2c289
d7b3bb42
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
7ccae9d4
...
...
@@ -887,8 +887,10 @@ class TrabalhoController extends Controller
public
function
projetosDoEdital
(
$id
)
{
$edital
=
Evento
::
find
(
$id
);
$projetos
=
Trabalho
::
where
(
'evento_id'
,
'='
,
$id
)
->
get
();
$hoje
=
Carbon
::
today
(
'America/Recife'
);
$hoje
=
$hoje
->
toDateString
();
return
view
(
'pro
jeto.index
'
)
->
with
([
'edital'
=>
$edital
,
'projetos'
=>
$projetos
]);
return
view
(
'pro
ponente.projetosEdital
'
)
->
with
([
'edital'
=>
$edital
,
'projetos'
=>
$projetos
,
'hoje'
=>
$hoje
]);
}
public
function
baixarAnexoProjeto
(
$id
)
{
...
...
@@ -967,5 +969,4 @@ class TrabalhoController extends Controller
}
return
abort
(
404
);
}
}
}
\ No newline at end of file
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