diff --git a/resources/views/admin/airlines/create.blade.php b/resources/views/admin/airlines/create.blade.php index b747130e..586b4df9 100644 --- a/resources/views/admin/airlines/create.blade.php +++ b/resources/views/admin/airlines/create.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin.app') +@extends('admin.app') @section('content')
diff --git a/resources/views/layouts/admin/app.blade.php b/resources/views/admin/app.blade.php similarity index 97% rename from resources/views/layouts/admin/app.blade.php rename to resources/views/admin/app.blade.php index d9d24372..6d9b7b1f 100644 --- a/resources/views/layouts/admin/app.blade.php +++ b/resources/views/admin/app.blade.php @@ -80,7 +80,7 @@ - @include('layouts.admin.sidebar') + @include('admin.sidebar')
@yield('content') @@ -88,7 +88,7 @@
- Copyright © 2016 Company. All rights reserved. + Copyright © 2017 phpvms. All rights reserved.
@@ -108,7 +108,7 @@ - InfyOm Generator + phpVMS diff --git a/resources/views/layouts/admin/menu.blade.php b/resources/views/admin/menu.blade.php similarity index 50% rename from resources/views/layouts/admin/menu.blade.php rename to resources/views/admin/menu.blade.php index 3423fabd..08863621 100644 --- a/resources/views/layouts/admin/menu.blade.php +++ b/resources/views/admin/menu.blade.php @@ -1 +1,2 @@
  • airlines
  • +
  • aircraft
  • diff --git a/resources/views/layouts/admin/sidebar.blade.php b/resources/views/admin/sidebar.blade.php similarity index 97% rename from resources/views/layouts/admin/sidebar.blade.php rename to resources/views/admin/sidebar.blade.php index 1130eac2..d2343019 100644 --- a/resources/views/layouts/admin/sidebar.blade.php +++ b/resources/views/admin/sidebar.blade.php @@ -33,7 +33,7 @@
    diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/default/app.blade.php similarity index 100% rename from resources/views/layouts/app.blade.php rename to resources/views/layouts/default/app.blade.php diff --git a/resources/views/layouts/datatables_css.blade.php b/resources/views/layouts/default/datatables_css.blade.php similarity index 100% rename from resources/views/layouts/datatables_css.blade.php rename to resources/views/layouts/default/datatables_css.blade.php diff --git a/resources/views/layouts/datatables_js.blade.php b/resources/views/layouts/default/datatables_js.blade.php similarity index 100% rename from resources/views/layouts/datatables_js.blade.php rename to resources/views/layouts/default/datatables_js.blade.php diff --git a/routes/web.php b/routes/web.php index 733051d5..4fcdeab7 100755 --- a/routes/web.php +++ b/routes/web.php @@ -30,4 +30,16 @@ Route::group([ 'prefix' => 'admin', ], function () { Route::resource('airlines', 'AirlinesController'); + Route::resource('aircraft', 'AircraftController'); + +// Route::get('admin/aircrafts', ['as'=> 'admin.aircrafts.index', 'uses' => 'AircraftController@index']); +// Route::post('admin/aircrafts', ['as'=> 'admin.aircrafts.store', 'uses' => 'AircraftController@store']); +// Route::get('admin/aircrafts/create', ['as'=> 'admin.aircrafts.create', 'uses' => 'AircraftController@create']); +// Route::put('admin/aircrafts/{aircrafts}', ['as'=> 'admin.aircrafts.update', 'uses' => 'AircraftController@update']); +// Route::patch('admin/aircrafts/{aircrafts}', ['as'=> 'admin.aircrafts.update', 'uses' => 'AircraftController@update']); +// Route::delete('admin/aircrafts/{aircrafts}', ['as'=> 'admin.aircrafts.destroy', 'uses' => 'AircraftController@destroy']); +// Route::get('admin/aircrafts/{aircrafts}', ['as'=> 'admin.aircrafts.show', 'uses' => 'AircraftController@show']); +// Route::get('admin/aircrafts/{aircrafts}/edit', ['as'=> 'admin.aircrafts.edit', 'uses' => 'AircraftController@edit']); }); + +