Completed
Push — master ( b1a1a8...10b90e )
by David
27:55
created
app/Http/Controllers/API/V1/PageController.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -39,33 +39,33 @@
 block discarded – undo
39 39
 		],
40 40
 	];
41 41
 
42
-    /**
43
-     * Returns a page and associated detail and template data
44
-     * 
45
-     * @param  string $slug
46
-     * @return \Illuminate\Http\JsonResponse
47
-     */
48
-    public function showBySlug($slug)
49
-    {        
50
-        return $this->showWithDetail(['url' => $slug]);
51
-    }
42
+	/**
43
+	 * Returns a page and associated detail and template data
44
+	 * 
45
+	 * @param  string $slug
46
+	 * @return \Illuminate\Http\JsonResponse
47
+	 */
48
+	public function showBySlug($slug)
49
+	{        
50
+		return $this->showWithDetail(['url' => $slug]);
51
+	}
52 52
 
53
-    /**
54
-     * Returns a page and associated detail and template data
55
-     * 
56
-     * @param  mixed $id
57
-     * @return \Illuminate\Http\JsonResponse
58
-     */
59
-    public function showWithDetail($id)
60
-    {        
61
-        $this->manager->parseIncludes([
62
-        	'parent',
63
-        	'detail',
64
-        	'detail.template_detail',
65
-        	//'detail.template_detail.parent',
66
-        ]);
53
+	/**
54
+	 * Returns a page and associated detail and template data
55
+	 * 
56
+	 * @param  mixed $id
57
+	 * @return \Illuminate\Http\JsonResponse
58
+	 */
59
+	public function showWithDetail($id)
60
+	{        
61
+		$this->manager->parseIncludes([
62
+			'parent',
63
+			'detail',
64
+			'detail.template_detail',
65
+			//'detail.template_detail.parent',
66
+		]);
67 67
 
68
-        return $this->show($id);
69
-    }
68
+		return $this->show($id);
69
+	}
70 70
 
71 71
 }
72 72
\ No newline at end of file
Please login to merge, or discard this patch.