public function store(Request $request)
	{
		$attributes = request()->validate(Settings::$rules, Settings::$messages);

        $setting = $this->createEntry(Settings::class, $attributes);

        log_activity('Setting Created', 'A Setting was successfully created', $setting);

        return redirect_to_resource();
	}
public function store(Request $request)
	{
		$attributes = request()->validate(Settings::$rules, Settings::$messages);

        $setting = $this->createEntry(Settings::class, $attributes);

        log_activity('Setting Created', 'A Setting was successfully created', $setting);

        return redirect_to_resource();
	}
public function store ( Request $ request ) { $ attributes = request ( ) -> validate ( Settings :: $ rules , Settings :: $ messages ) ; $ setting = $ this -> createEntry ( Settings :: class , $ attributes ) ; log_activity ( 'Setting Created' , 'A Setting was successfully created' , $ setting ) ; return redirect_to_resource ( ) ; }
Store a newly created setting in storage.

@param Request $request
@return Response
Store a newly created setting in storage .