src/Http/Controllers/Admin/SettingController.php
public function index(Request $request)
    {
        $this->settingRepository->pushCriteria(new RequestCriteria($request));
        $settings = $this->settingRepository->all();
        $dateFormats = DateFormatter::dropdownArray();

        return view('l5starter::admin.settings.index')->with([
            'dateFormats' => $dateFormats,
            'settings' => $settings,
        ]);
    }
public function index(Request $request)
    {
        $this->settingRepository->pushCriteria(new RequestCriteria($request));
        $settings = $this->settingRepository->all();
        $dateFormats = DateFormatter::dropdownArray();

        return view('l5starter::admin.settings.index')->with([
            'dateFormats' => $dateFormats,
            'settings' => $settings,
        ]);
    }
Display a listing of the Setting.

@param Request $request
@return Response