Пример #1
0
 /**
  * Flush the Satis persister.
  *
  * @return $this
  */
 public function flush()
 {
     $this->satis->flush();
     return $this;
 }
Пример #2
0
 /**
  * Update the Satis configuration.
  *
  * @param  \KevinDierkx\Muse\Http\Requests\Admin\Settings\UpdateRequest  $request
  * @return \Illuminate\Http\RedirectResponse
  */
 public function update(UpdateRequest $request)
 {
     $configuration = $this->satis->getConfiguration();
     $this->satis->update($configuration, $request->only('name', 'homepage'));
     return Redirect::route('admin.settings.edit')->with('success', 'The settings have been successfully updated!');
 }