diff --git a/src/Http/Controllers/Admin/FontAwesomeController.php b/src/Http/Controllers/Admin/FontAwesomeController.php index f04c033..dea10c2 100644 --- a/src/Http/Controllers/Admin/FontAwesomeController.php +++ b/src/Http/Controllers/Admin/FontAwesomeController.php @@ -8,8 +8,9 @@ class FontAwesomeController extends Controller { public function index() { - $file_path = public_path() . "/adminetic/assets/js/icon-picker/iconpicker-1.5.0.json"; - $fonts = file_exists($file_path) ? json_decode(file_get_contents($file_path), true) : null; + $file_path = public_path().'/adminetic/assets/js/icon-picker/iconpicker-1.5.0.json'; + $fonts = file_exists($file_path) ? json_decode(file_get_contents($file_path), true) : null; + return view('adminetic::admin.fontawesome.index', compact('fonts')); } }