Skip to content

Commit

Permalink
fixing the issue with AdminUsersController.
Browse files Browse the repository at this point in the history
Now crudbooster uses the ones which is published in the app/Http/Controllers folder
  • Loading branch information
imanghafoori1 committed Nov 9, 2017
1 parent 302a60b commit 6bae61e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 74 deletions.
59 changes: 0 additions & 59 deletions src/controllers/AdminUsersController.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

CRUDBooster::routeController('file-manager', $namespace);
CRUDBooster::routeController('notifications', 'AdminNotificationsController', $namespace);
CRUDBooster::routeController('users', 'AdminUsersController', $namespace);
CRUDBooster::routeController('users', 'AdminUsersController');
try {
$master_controller = glob(__DIR__.'/controllers/*.php');
foreach ($master_controller as &$file) {
Expand Down
18 changes: 4 additions & 14 deletions src/userfiles/controllers/AdminUsersController.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
<?php namespace crocodicstudio\crudbooster\controllers;
<?php

use crocodicstudio\crudbooster\controllers\Controller;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\PDF;
use Illuminate\Support\Facades\Excel;
namespace App\Http\Controllers;

use crocodicstudio\crudbooster\controllers\CBController;
use CRUDBooster;
use CB;

Expand Down

0 comments on commit 6bae61e

Please sign in to comment.