/** * Display a listing of settings * * @return Response */ public function index() { $settings = Setting::all(); $shopsettings = Shopsetting::all(); $receiptsettings = Receiptsetting::all(); return View::make('settings.index', compact('settings', 'shopsettings', 'receiptsettings')); }
/** * Remove the specified shopsetting from storage. * * @param int $id * @return Response */ public function destroy($id) { Shopsetting::destroy($id); return Redirect::route('shopsettings.index'); }