/** * Display a listing of the resource. * * @return Response */ public function index() { $resources = Setting::all(); return $this->response->withCollection($resources, new SettingTransformer()); }