From: Vincent Vanwaelscappel Date: Tue, 3 Mar 2020 19:11:40 +0000 (+0100) Subject: wip #3458 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=1f658b14716a2f0b8871b603120e64dbd58326a7;p=fluidbook-toolbox.git wip #3458 @0.25 --- diff --git a/app/Http/Controllers/Admin/Base/QuizController.php b/app/Http/Controllers/Admin/Base/QuizController.php new file mode 100644 index 000000000..4752f1664 --- /dev/null +++ b/app/Http/Controllers/Admin/Base/QuizController.php @@ -0,0 +1,14 @@ + 'quiz', 'singular' => 'quiz', 'plural' => 'quizzes']; + /** + * @param $crud CrudPanel + */ + public function setupButtons($crud) + { + parent::setupButtons($crud); + + $crud->addButtonFromModelFunction('line', 'open_preview', 'openPreviewButton', 'begining'); + $crud->addButtonFromModelFunction('line', 'download', 'downloadButton', 'end'); + } + + public function openPreviewButton($crud = false) + { + return ' Preview'; + } + + public function downloadButton($crud = false) + { + return ' Download'; + } + public function setFields() { parent::setFields(); @@ -73,5 +98,6 @@ class Quiz extends CubistMagicAbstractModel $f = array_merge($default, ['name' => $name, 'label' => $label]); $this->addField($f); } + } } diff --git a/composer.lock b/composer.lock index f0a92226d..e9376c876 100644 --- a/composer.lock +++ b/composer.lock @@ -862,20 +862,20 @@ }, { "name": "creativeorange/gravatar", - "version": "v1.0.13", + "version": "v1.0.14", "source": { "type": "git", "url": "https://github.com/creativeorange/gravatar.git", - "reference": "c757291f791bf169e614b98b2ac3dad189bba2c9" + "reference": "e53513eb12673c8c97663a7d430fe14fce38fb8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/creativeorange/gravatar/zipball/c757291f791bf169e614b98b2ac3dad189bba2c9", - "reference": "c757291f791bf169e614b98b2ac3dad189bba2c9", + "url": "https://api.github.com/repos/creativeorange/gravatar/zipball/e53513eb12673c8c97663a7d430fe14fce38fb8d", + "reference": "e53513eb12673c8c97663a7d430fe14fce38fb8d", "shasum": "" }, "require": { - "illuminate/support": "^5.0|^6", + "illuminate/support": "^5|^6|^7", "php": ">=5.4.0" }, "type": "library", @@ -912,7 +912,7 @@ "gravatar", "laravel" ], - "time": "2019-08-29T20:00:13+00:00" + "time": "2020-03-03T09:01:46+00:00" }, { "name": "cubist/cms-back", @@ -920,13 +920,13 @@ "source": { "type": "git", "url": "git://git.cubedesigners.com/cubist_cms-back.git", - "reference": "c0c76f7c5b5f14eb38bef5bae10d12f02f9f7100" + "reference": "5c2f53be9b1bd5f2a967635d6845e316fef25e1e" }, "dist": { "type": "tar", - "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-255be8.tar", - "reference": "c0c76f7c5b5f14eb38bef5bae10d12f02f9f7100", - "shasum": "2515ba5358b88dab7ef2d6d21f9644163d418cca" + "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-354fa1.tar", + "reference": "5c2f53be9b1bd5f2a967635d6845e316fef25e1e", + "shasum": "ea57becaf3fe74393c29012c4e4b790ee2ba5f9a" }, "require": { "backpack/backupmanager": "^2.0", @@ -997,7 +997,7 @@ } ], "description": "Cubist Backpack extension", - "time": "2020-02-28T20:10:04+00:00" + "time": "2020-03-03T18:55:26+00:00" }, { "name": "cubist/cms-front", @@ -2447,16 +2447,16 @@ }, { "name": "laravel/framework", - "version": "v6.17.1", + "version": "v6.18.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "32d1ed55dd46dcd706ff2e45bb7965be7320b87d" + "reference": "077b895d935b7fbcfb1d1eb34217fa4f80a130d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/32d1ed55dd46dcd706ff2e45bb7965be7320b87d", - "reference": "32d1ed55dd46dcd706ff2e45bb7965be7320b87d", + "url": "https://api.github.com/repos/laravel/framework/zipball/077b895d935b7fbcfb1d1eb34217fa4f80a130d8", + "reference": "077b895d935b7fbcfb1d1eb34217fa4f80a130d8", "shasum": "" }, "require": { @@ -2589,24 +2589,24 @@ "framework", "laravel" ], - "time": "2020-02-26T14:23:01+00:00" + "time": "2020-03-03T13:14:27+00:00" }, { "name": "laravel/helpers", - "version": "v1.1.1", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/laravel/helpers.git", - "reference": "b8eae9ddd461e89d0296f74fd069c413bf83b6fa" + "reference": "1f978fc5dad9f7f906b18242c654252615201de4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/helpers/zipball/b8eae9ddd461e89d0296f74fd069c413bf83b6fa", - "reference": "b8eae9ddd461e89d0296f74fd069c413bf83b6fa", + "url": "https://api.github.com/repos/laravel/helpers/zipball/1f978fc5dad9f7f906b18242c654252615201de4", + "reference": "1f978fc5dad9f7f906b18242c654252615201de4", "shasum": "" }, "require": { - "illuminate/support": "~5.8.0|^6.0", + "illuminate/support": "~5.8.0|^6.0|^7.0", "php": ">=7.1.3" }, "require-dev": { @@ -2642,7 +2642,7 @@ "helpers", "laravel" ], - "time": "2019-07-30T15:25:31+00:00" + "time": "2020-03-03T13:52:16+00:00" }, { "name": "lavary/laravel-menu", @@ -3292,16 +3292,16 @@ }, { "name": "nesbot/carbon", - "version": "2.30.0", + "version": "2.31.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "912dff66d2690ca66abddb9b291a1df5f371d3b4" + "reference": "bbc0ab53f41a4c6f223c18efcdbd9bc725eb5d2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/912dff66d2690ca66abddb9b291a1df5f371d3b4", - "reference": "912dff66d2690ca66abddb9b291a1df5f371d3b4", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/bbc0ab53f41a4c6f223c18efcdbd9bc725eb5d2d", + "reference": "bbc0ab53f41a4c6f223c18efcdbd9bc725eb5d2d", "shasum": "" }, "require": { @@ -3358,7 +3358,7 @@ "datetime", "time" ], - "time": "2020-02-07T15:25:46+00:00" + "time": "2020-03-01T11:11:58+00:00" }, { "name": "nicmart/tree", @@ -3398,21 +3398,21 @@ }, { "name": "nothingworks/blade-svg", - "version": "v0.3.3", + "version": "v0.3.4", "source": { "type": "git", "url": "https://github.com/adamwathan/blade-svg.git", - "reference": "f8a21180d21d2bc77a5bca6a6550e5d6816e79a5" + "reference": "600269d60efe52bf9fc2cc610b21744cd69425df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/adamwathan/blade-svg/zipball/f8a21180d21d2bc77a5bca6a6550e5d6816e79a5", - "reference": "f8a21180d21d2bc77a5bca6a6550e5d6816e79a5", + "url": "https://api.github.com/repos/adamwathan/blade-svg/zipball/600269d60efe52bf9fc2cc610b21744cd69425df", + "reference": "600269d60efe52bf9fc2cc610b21744cd69425df", "shasum": "" }, "require": { - "illuminate/filesystem": "^5.3|^6.0", - "illuminate/support": "^5.3|^6.0" + "illuminate/filesystem": "^5.3|^6.0|^7.0", + "illuminate/support": "^5.3|^6.0|^7.0" }, "require-dev": { "mockery/mockery": "^0.9.5", @@ -3444,7 +3444,7 @@ "email": "adam.wathan@gmail.com" } ], - "time": "2019-09-19T12:28:31+00:00" + "time": "2020-03-03T13:55:12+00:00" }, { "name": "ocramius/package-versions", @@ -3748,22 +3748,22 @@ }, { "name": "prologue/alerts", - "version": "0.4.5", + "version": "0.4.6", "source": { "type": "git", "url": "https://github.com/prologuephp/alerts.git", - "reference": "b4357dfa8abd5c58e41b8bb1fddc0781184d35da" + "reference": "4c621a541a7f16631deda9d1b2b075c182d251d1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/prologuephp/alerts/zipball/b4357dfa8abd5c58e41b8bb1fddc0781184d35da", - "reference": "b4357dfa8abd5c58e41b8bb1fddc0781184d35da", + "url": "https://api.github.com/repos/prologuephp/alerts/zipball/4c621a541a7f16631deda9d1b2b075c182d251d1", + "reference": "4c621a541a7f16631deda9d1b2b075c182d251d1", "shasum": "" }, "require": { - "illuminate/config": "~5|~6", - "illuminate/session": "~5|~6", - "illuminate/support": "~5|~6", + "illuminate/config": "~5|~6|~7", + "illuminate/session": "~5|~6|~7", + "illuminate/support": "~5|~6|~7", "php": ">=5.4.0" }, "require-dev": { @@ -3810,7 +3810,7 @@ "laravel", "messages" ], - "time": "2019-09-04T04:10:03+00:00" + "time": "2020-03-03T08:33:38+00:00" }, { "name": "psr/cache", @@ -4494,37 +4494,37 @@ }, { "name": "spatie/laravel-backup", - "version": "6.7.8", + "version": "6.8.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-backup.git", - "reference": "48f9310a2396db79d396dd63e20f657e8b11ce4e" + "reference": "b2cf3f9f35613a20a39e1c35803b77858b455382" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/48f9310a2396db79d396dd63e20f657e8b11ce4e", - "reference": "48f9310a2396db79d396dd63e20f657e8b11ce4e", + "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/b2cf3f9f35613a20a39e1c35803b77858b455382", + "reference": "b2cf3f9f35613a20a39e1c35803b77858b455382", "shasum": "" }, "require": { - "illuminate/console": "^5.8.15|^6.0", - "illuminate/contracts": "^5.8.15|^6.0", - "illuminate/events": "^5.8.15|^6.0", - "illuminate/filesystem": "^5.8.15|^6.0", - "illuminate/notifications": "^5.8.15|^6.0", - "illuminate/support": "^5.8.15|^6.0", + "illuminate/console": "^5.8.15|^6.0|^7.0", + "illuminate/contracts": "^5.8.15|^6.0|^7.0", + "illuminate/events": "^5.8.15|^6.0|^7.0", + "illuminate/filesystem": "^5.8.15|^6.0|^7.0", + "illuminate/notifications": "^5.8.15|^6.0|^7.0", + "illuminate/support": "^5.8.15|^6.0|^7.0", "league/flysystem": "^1.0.49", "php": "^7.2", "spatie/db-dumper": "^2.12", "spatie/temporary-directory": "^1.1", - "symfony/finder": "^4.2" + "symfony/finder": "^4.2|^5.0" }, "require-dev": { "laravel/slack-notification-channel": "^1.0", "league/flysystem-aws-s3-v3": "^1.0", - "mockery/mockery": "^1.0", - "orchestra/testbench": "3.8.*|4.*", - "phpunit/phpunit": "^8.4" + "mockery/mockery": "^1.3", + "orchestra/testbench": "3.8.*|4.*|5.*", + "phpunit/phpunit": "^8.4|^9.0" }, "suggest": { "laravel/slack-notification-channel": "Required for sending notifications via Slack" @@ -4565,20 +4565,20 @@ "laravel-backup", "spatie" ], - "time": "2020-02-19T16:54:03+00:00" + "time": "2020-03-02T21:43:50+00:00" }, { "name": "spatie/laravel-blade-x", - "version": "2.5.0", + "version": "2.6.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-blade-x.git", - "reference": "e6c2625dd46325d2fbe594ddf1de96326e5e59f5" + "reference": "45dcb858cb58445678d912fa2727bd690d0ccea2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-blade-x/zipball/e6c2625dd46325d2fbe594ddf1de96326e5e59f5", - "reference": "e6c2625dd46325d2fbe594ddf1de96326e5e59f5", + "url": "https://api.github.com/repos/spatie/laravel-blade-x/zipball/45dcb858cb58445678d912fa2727bd690d0ccea2", + "reference": "45dcb858cb58445678d912fa2727bd690d0ccea2", "shasum": "" }, "require": { @@ -4651,7 +4651,8 @@ "laravel-blade-x", "spatie" ], - "time": "2020-01-10T00:45:12+00:00" + "abandoned": "laravel/framework", + "time": "2020-03-02T15:22:35+00:00" }, { "name": "spatie/laravel-googletagmanager", @@ -4713,29 +4714,29 @@ }, { "name": "spatie/laravel-honeypot", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-honeypot.git", - "reference": "67a89380b26376e821a54278df97850d92c1273f" + "reference": "e7d7f960a214f65458249228d633bfa899a3c7a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-honeypot/zipball/67a89380b26376e821a54278df97850d92c1273f", - "reference": "67a89380b26376e821a54278df97850d92c1273f", + "url": "https://api.github.com/repos/spatie/laravel-honeypot/zipball/e7d7f960a214f65458249228d633bfa899a3c7a1", + "reference": "e7d7f960a214f65458249228d633bfa899a3c7a1", "shasum": "" }, "require": { - "illuminate/contracts": "5.8.*|^6.0", - "illuminate/encryption": "5.8.*|^6.0", - "illuminate/http": "5.8.*|^6.0", - "illuminate/support": "5.8.*|^6.0", - "illuminate/validation": "5.8.*|^6.0", + "illuminate/contracts": "5.8.*|^6.0|^7.0", + "illuminate/encryption": "5.8.*|^6.0|^7.0", + "illuminate/http": "5.8.*|^6.0|^7.0", + "illuminate/support": "5.8.*|^6.0|^7.0", + "illuminate/validation": "5.8.*|^6.0|^7.0", "nesbot/carbon": "^2.0", "php": "^7.2" }, "require-dev": { - "orchestra/testbench": "3.8.*|^4.0", + "orchestra/testbench": "3.8.*|^4.0|^5.0", "spatie/phpunit-snapshot-assertions": "^2.0" }, "type": "library", @@ -4769,20 +4770,20 @@ "laravel-honeypot", "spatie" ], - "time": "2019-09-04T08:28:11+00:00" + "time": "2020-03-02T17:18:56+00:00" }, { "name": "spatie/laravel-medialibrary", - "version": "7.18.3", + "version": "7.19.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-medialibrary.git", - "reference": "4ec74e92b80808727818e38199b8f82ad7983b31" + "reference": "a7b75fe3730da8b6e0241629fa4c25c376e7863f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/4ec74e92b80808727818e38199b8f82ad7983b31", - "reference": "4ec74e92b80808727818e38199b8f82ad7983b31", + "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/a7b75fe3730da8b6e0241629fa4c25c376e7863f", + "reference": "a7b75fe3730da8b6e0241629fa4c25c376e7863f", "shasum": "" }, "require": { @@ -4855,30 +4856,30 @@ "media", "spatie" ], - "time": "2020-02-19T10:45:42+00:00" + "time": "2020-03-03T07:52:30+00:00" }, { "name": "spatie/laravel-missing-page-redirector", - "version": "2.5.0", + "version": "2.6.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-missing-page-redirector.git", - "reference": "e56b5a74c24abed8caa42ec3004506c2fea0c0dc" + "reference": "e3973e1e437487bbb515f3956f28b3eab47201e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-missing-page-redirector/zipball/e56b5a74c24abed8caa42ec3004506c2fea0c0dc", - "reference": "e56b5a74c24abed8caa42ec3004506c2fea0c0dc", + "url": "https://api.github.com/repos/spatie/laravel-missing-page-redirector/zipball/e3973e1e437487bbb515f3956f28b3eab47201e0", + "reference": "e3973e1e437487bbb515f3956f28b3eab47201e0", "shasum": "" }, "require": { - "laravel/framework": "~5.8.0|^6.0", + "laravel/framework": "~5.8.0|^6.0|^7.0", "php": "^7.2", "spatie/url": "^1.0" }, "require-dev": { - "orchestra/testbench": "~3.8.0|^4.0", - "phpunit/phpunit": "^8.0" + "orchestra/testbench": "~3.8.0|^4.0|^5.0", + "phpunit/phpunit": "^8.0|^9.0" }, "type": "library", "extra": { @@ -4911,20 +4912,20 @@ "laravel-missing-page-redirector", "spatie" ], - "time": "2019-09-04T08:44:25+00:00" + "time": "2020-03-03T12:22:11+00:00" }, { "name": "spatie/laravel-permission", - "version": "3.9.0", + "version": "3.10.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-permission.git", - "reference": "ac0fc4cd809b1fe7ecbe9876e03bb5849601bf66" + "reference": "b0861793b5942eeaaa27cd38787fba7666c10d3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/ac0fc4cd809b1fe7ecbe9876e03bb5849601bf66", - "reference": "ac0fc4cd809b1fe7ecbe9876e03bb5849601bf66", + "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/b0861793b5942eeaaa27cd38787fba7666c10d3c", + "reference": "b0861793b5942eeaaa27cd38787fba7666c10d3c", "shasum": "" }, "require": { @@ -4932,11 +4933,11 @@ "illuminate/container": "^5.8|^6.0|^7.0", "illuminate/contracts": "^5.8|^6.0|^7.0", "illuminate/database": "^5.8|^6.0|^7.0", - "php": "^7.2" + "php": "^7.2.5" }, "require-dev": { "orchestra/testbench": "^3.8|^4.0|^5.0", - "phpunit/phpunit": "^8.0", + "phpunit/phpunit": "^8.0|^9.0", "predis/predis": "^1.1" }, "type": "library", @@ -4979,32 +4980,33 @@ "security", "spatie" ], - "time": "2020-02-26T16:23:16+00:00" + "time": "2020-03-03T17:38:17+00:00" }, { "name": "spatie/laravel-sitemap", - "version": "5.6.0", + "version": "5.7.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-sitemap.git", - "reference": "2351e0757c9d0ee6afc4908bf1bd528fb389a2bb" + "reference": "b2ce1f09f222fa9b79284b8952f967356a3ae0af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-sitemap/zipball/2351e0757c9d0ee6afc4908bf1bd528fb389a2bb", - "reference": "2351e0757c9d0ee6afc4908bf1bd528fb389a2bb", + "url": "https://api.github.com/repos/spatie/laravel-sitemap/zipball/b2ce1f09f222fa9b79284b8952f967356a3ae0af", + "reference": "b2ce1f09f222fa9b79284b8952f967356a3ae0af", "shasum": "" }, "require": { - "illuminate/support": "~5.8.0|^6.0", + "illuminate/support": "~5.8.0|^6.0|^7.0", "nesbot/carbon": "^1.21|^2.0", "php": "^7.2", "spatie/crawler": "^4.1.0" }, "require-dev": { - "orchestra/testbench": "~3.8.0|^4.0", - "phpunit/phpunit": "^8.0", - "spatie/phpunit-snapshot-assertions": "^2.0.0", + "mockery/mockery": "^1.3", + "orchestra/testbench": "~3.8.8|^4.0|^5.0", + "phpunit/phpunit": "^8.3|^9.0", + "spatie/phpunit-snapshot-assertions": "^3.0.0", "spatie/temporary-directory": "^1.1" }, "type": "library", @@ -5038,31 +5040,30 @@ "laravel-sitemap", "spatie" ], - "time": "2020-01-20T12:53:10+00:00" + "time": "2020-03-03T07:05:15+00:00" }, { "name": "spatie/laravel-translatable", - "version": "4.2.2", + "version": "4.3.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-translatable.git", - "reference": "71a8ba458dabd8bbe417fa65fd21468175ec22cb" + "reference": "0f69b268257b3f594450712a95cce6178bb0eb13" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-translatable/zipball/71a8ba458dabd8bbe417fa65fd21468175ec22cb", - "reference": "71a8ba458dabd8bbe417fa65fd21468175ec22cb", + "url": "https://api.github.com/repos/spatie/laravel-translatable/zipball/0f69b268257b3f594450712a95cce6178bb0eb13", + "reference": "0f69b268257b3f594450712a95cce6178bb0eb13", "shasum": "" }, "require": { - "illuminate/database": "~5.8.0|^6.0", - "illuminate/support": "~5.8.0|^6.0", + "illuminate/database": "~5.8.0|^6.0|^7.0", + "illuminate/support": "~5.8.0|^6.0|^7.0", "php": "^7.2" }, "require-dev": { - "mockery/mockery": "^1.0", - "orchestra/testbench": "~3.8.0|^4.0", - "phpunit/phpunit": "^8.0" + "mockery/mockery": "^1.3", + "orchestra/testbench": "~3.8.0|^4.0|^5.0" }, "type": "library", "extra": { @@ -5111,7 +5112,7 @@ "spatie", "translate" ], - "time": "2020-01-20T07:53:37+00:00" + "time": "2020-03-02T19:35:51+00:00" }, { "name": "spatie/macroable", @@ -7696,23 +7697,23 @@ }, { "name": "facade/flare-client-php", - "version": "1.3.1", + "version": "1.3.2", "source": { "type": "git", "url": "https://github.com/facade/flare-client-php.git", - "reference": "24444ea0e1556f0a4b5fc8e61802caf72ae9a408" + "reference": "db1e03426e7f9472c9ecd1092aff00f56aa6c004" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/facade/flare-client-php/zipball/24444ea0e1556f0a4b5fc8e61802caf72ae9a408", - "reference": "24444ea0e1556f0a4b5fc8e61802caf72ae9a408", + "url": "https://api.github.com/repos/facade/flare-client-php/zipball/db1e03426e7f9472c9ecd1092aff00f56aa6c004", + "reference": "db1e03426e7f9472c9ecd1092aff00f56aa6c004", "shasum": "" }, "require": { "facade/ignition-contracts": "~1.0", - "illuminate/pipeline": "~5.5|~5.6|~5.7|~5.8|^6.0", + "illuminate/pipeline": "^5.5|^6.0|^7.0", "php": "^7.1", - "symfony/http-foundation": "~3.3|~4.1", + "symfony/http-foundation": "^3.3|^4.1|^5.0", "symfony/var-dumper": "^3.4|^4.0|^5.0" }, "require-dev": { @@ -7746,7 +7747,7 @@ "flare", "reporting" ], - "time": "2019-12-15T18:28:38+00:00" + "time": "2020-03-02T15:52:04+00:00" }, { "name": "facade/ignition", diff --git a/routes/backpack/custom.php b/routes/backpack/custom.php index c2f7f550c..1352e9cbe 100644 --- a/routes/backpack/custom.php +++ b/routes/backpack/custom.php @@ -4,5 +4,8 @@ Route::group([ 'middleware' => ['web', config('backpack.base.middleware_key', 'admin')], 'namespace' => 'App\Http\Controllers\Admin', ], function () { // custom admin routes - + Route::crud('locale', 'LocaleCrudController'); + Route::crud('page', 'PageCrudController'); + Route::crud('quiz', 'QuizCrudController'); + Route::crud('settings', 'SettingsCrudController'); });