Commit e40501de by Aan Choesni Herlingga

add with

parent 922f08b6
...@@ -31,7 +31,7 @@ class CategoryController extends Controller ...@@ -31,7 +31,7 @@ class CategoryController extends Controller
public function index(Request $request) public function index(Request $request)
{ {
if ($request->ajax()) { if ($request->ajax()) {
$data = $this->repo->get(); $data = $this->repo->get(['rEn']);
return $this->repo->datatable($data); return $this->repo->datatable($data);
} }
......
...@@ -32,7 +32,7 @@ class InformationController extends Controller ...@@ -32,7 +32,7 @@ class InformationController extends Controller
public function index(Request $request) public function index(Request $request)
{ {
if ($request->ajax()) { if ($request->ajax()) {
$data = $this->repo->get(); $data = $this->repo->get(['rEn']);
return $this->repo->datatable($data); return $this->repo->datatable($data);
} }
......
...@@ -32,7 +32,7 @@ class PageController extends Controller ...@@ -32,7 +32,7 @@ class PageController extends Controller
public function index(Request $request) public function index(Request $request)
{ {
if ($request->ajax()) { if ($request->ajax()) {
$data = $this->repo->get(); $data = $this->repo->get(['rEn']);
return $this->repo->datatable($data); return $this->repo->datatable($data);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment