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
c59410d1
Commit
c59410d1
authored
Jul 27, 2021
by
José Rômulo
Browse files
Correção vizualização de arquivo anexado parecer
parent
7e6eec6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AvaliadorController.php
View file @
c59410d1
...
@@ -80,7 +80,7 @@ class AvaliadorController extends Controller
...
@@ -80,7 +80,7 @@ class AvaliadorController extends Controller
}
else
{
}
else
{
$anexoParecer
=
$request
->
anexoParecer
;
$anexoParecer
=
$request
->
anexoParecer
;
$path
=
'anexoParecer/'
.
$avaliador
->
id
.
$trabalho
->
id
.
'/'
;
$path
=
'anexoParecer/'
.
$avaliador
->
id
.
$trabalho
->
id
.
'/'
;
$nome
=
"parecer.pdf"
;
$nome
=
$anexoParecer
->
getClientOriginalName
()
;
Storage
::
putFileAs
(
$path
,
$anexoParecer
,
$nome
);
Storage
::
putFileAs
(
$path
,
$anexoParecer
,
$nome
);
$anexoParecer
=
$path
.
$nome
;
$anexoParecer
=
$path
.
$nome
;
...
...
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