Commit afa12af2 authored by Guilherme Silva's avatar Guilherme Silva
Browse files

Ajuste em acesso de avaliador

parent c5c3d244
...@@ -46,7 +46,6 @@ class HomeController extends Controller ...@@ -46,7 +46,6 @@ class HomeController extends Controller
} }
else if (Auth::user()->avaliadors != null) { else if (Auth::user()->avaliadors != null) {
$flagAvalRelatorio = count(AvaliacaoRelatorio::where('user_id',Auth::user()->id )->get()); $flagAvalRelatorio = count(AvaliacaoRelatorio::where('user_id',Auth::user()->id )->get());
dd($flagAvalRelatorio);
return view('avaliador.index', compact('flagAvalRelatorio')); return view('avaliador.index', compact('flagAvalRelatorio'));
} }
else if (Auth::user()->participantes != null) { else if (Auth::user()->participantes != null) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment