Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 343 Bytes
namespace App\Http\Controllers;
use App\Http\Repositories\CrudRepository;
use App\Http\Repositories\CategoriesRepository;
use Illuminate\Http\Request;
class CategoriesController extends Controller
public function index()
$crud = new CrudRepository(new CategoriesRepository());
return $crud->index();
You can’t perform that action at this time.