public function index() { $lists = \App\Lists::all(); return \View::make('modules.lists.index', compact('lists')); }
public function index() { $response['lists'] = Lists::all(); return Response($response, 200); }