@@ -5,19 +5,19 @@ |
||
| 5 | 5 | class SettingsController extends Controller |
| 6 | 6 | { |
| 7 | 7 | |
| 8 | - /** |
|
| 9 | - * Store a newly created resource in storage. |
|
| 10 | - * |
|
| 11 | - * @return \Illuminate\Http\RedirectResponse |
|
| 12 | - */ |
|
| 13 | - public function update() |
|
| 14 | - { |
|
| 8 | + /** |
|
| 9 | + * Store a newly created resource in storage. |
|
| 10 | + * |
|
| 11 | + * @return \Illuminate\Http\RedirectResponse |
|
| 12 | + */ |
|
| 13 | + public function update() |
|
| 14 | + { |
|
| 15 | 15 | $input = \Input::only('key', 'value'); |
| 16 | 16 | |
| 17 | 17 | Settings::change($input['key'], $input['value']); |
| 18 | 18 | |
| 19 | 19 | \Notification::success("Setting updated"); |
| 20 | 20 | return redirect()->back()->withInput(); |
| 21 | - } |
|
| 21 | + } |
|
| 22 | 22 | |
| 23 | 23 | } |