added routes for the help desk in preparation for service

This commit is contained in:
2018-12-26 02:26:20 -06:00
parent ebe0a24d80
commit e478ef0694
2 changed files with 7 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ class HelpDeskController extends Controller
*/
public function displayMyTickets() {
//Get the active tickets from the database
$tickets = HelpDeskTicket::where(['user_id' => auth()->user()->character_id, 'active' => 1])->get();
$tickets = HelpDeskTicket::where(['user_id' => auth()->user()->character_id])->get();
//Return the view with the tickets variable
return view('helpdesk.mytickets')->with('tickets', $tickets);