]> _ Git - cubist_cms-back.git/commitdiff
wip #2950 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 28 Aug 2019 14:30:53 +0000 (16:30 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 28 Aug 2019 14:30:53 +0000 (16:30 +0200)
src/app/Http/Controllers/CubistSEOController.php [new file with mode: 0644]
src/routes/cubist/backpack/seo.php [new file with mode: 0644]
src/routes/cubist/backpack/template.php [deleted file]

diff --git a/src/app/Http/Controllers/CubistSEOController.php b/src/app/Http/Controllers/CubistSEOController.php
new file mode 100644 (file)
index 0000000..ae1de63
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+
+
+namespace app\Http\Controllers;
+
+
+class CubistSEOController
+{
+    public function robots()
+    {
+
+    }
+
+    public function sitemap()
+    {
+
+    }
+}
diff --git a/src/routes/cubist/backpack/seo.php b/src/routes/cubist/backpack/seo.php
new file mode 100644 (file)
index 0000000..ecb1467
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+Route::get('/robots.txt', 'CubistSEOController@robots');
+Route::get('/sitemap.xml', 'CubistSEOController@sitemap');
diff --git a/src/routes/cubist/backpack/template.php b/src/routes/cubist/backpack/template.php
deleted file mode 100644 (file)
index c8ce76b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-
-//
-//Route::group([
-//    'namespace' => 'Cubist\Backpack\app\Http\Controllers',
-//    'prefix' => config('backpack.base.route_prefix', 'admin'),
-//    'middleware' => ['web', backpack_middleware()],
-//], function () {
-//    CRUD::resource('template', 'TemplateCrudController');
-//    CRUD::resource('field', 'FieldCrudController')->with(function () {
-//        Route::any('field/ajax/{mode?}', 'FieldCrudController@handleAjaxRequest');
-//    });
-//
-//});