Completed
Push — master ( 4e9267...ad0247 )
by Adam
02:55
created
app/Http/Controllers/RoomController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function store(/*RoomRequest $request*/ Request $request, $id = null)
34 34
     {
35
-        if($id === null) {
35
+        if ($id === null) {
36 36
             $object = new Room();
37 37
         } else {
38 38
             try {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         $object->fill($request->all());
49 49
         $object->save();
50 50
 
51
-        return redirect()->route($this->getRouteName() . '.index')
51
+        return redirect()->route($this->getRouteName().'.index')
52 52
             ->with([
53 53
                 'message'     => trans('general.saved'),
54 54
                 'alert-class' => 'alert-success'
Please login to merge, or discard this patch.