| 1 | <?php |
||
| 3 | class AdministrationController extends \BaseController { |
||
|
|
|||
| 4 | |||
| 5 | /** |
||
| 6 | * Display a listing of the resource. |
||
| 7 | * |
||
| 8 | * @return Response |
||
| 9 | */ |
||
| 10 | public function index() |
||
| 11 | { |
||
| 12 | return View::make('administration'); |
||
| 13 | } |
||
| 14 | |||
| 15 | /** |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Remove the specified resource from storage. |
||
| 19 | * |
||
| 20 | * @param int $id |
||
| 21 | * @return Response |
||
| 22 | */ |
||
| 23 | public function destroy($id) |
||
| 27 | |||
| 28 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.