app/Http/Controllers/Admin/CategoryController.php
/**
	 * Display a listing of the resource.
	 *
	 * @return Response
	 */
Display a listing of the resource.
@return Response
Display a listing of the resource . @return Response
public function index() {
		$categories = Category::all();
		return response()->json($categories);
	}
public function index ( ) { $ categories = Category :: all ( ) ; return response ( ) -> json ( $ categories ) ; }
Display a listing of the resource.
Display a listing of the resource .