From f35dffcd7932311870238f387a6232d400c190e9 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 3 Jan 2021 20:59:39 +0300 Subject: [PATCH] Admin 1.7.1 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- plugin.yaml | 2 +- routes/web.php | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b553e69..6dbff65b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ + +# [1.7.1](https://github.com/flextype-plugins/admin) (2021-01-03) + +### Bug Fixes + +* **routes** fix routes for Api + # [1.7.0](https://github.com/flextype-plugins/admin) (2021-01-03) diff --git a/package.json b/package.json index 5c20e97f..63a3a9e1 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Admin", - "version": "1.7.0", + "version": "1.7.1", "description": "Admin theme for Flextype", "homepage": "https://flextype.org", "author": "Sergey Romanenko", diff --git a/plugin.yaml b/plugin.yaml index 65ce6a38..5e9cc2db 100755 --- a/plugin.yaml +++ b/plugin.yaml @@ -1,5 +1,5 @@ name: Admin -version: 1.7.0 +version: 1.7.1 description: Admin Panel plugin for Flextype. icon: fab fa-fort-awesome author: diff --git a/routes/web.php b/routes/web.php index c6461da8..9eab82e8 100644 --- a/routes/web.php +++ b/routes/web.php @@ -60,7 +60,7 @@ flextype()->post('/tools/cache-all', ToolsController::class . ':clearCacheAllProcess')->setName('admin.tools.clearCacheAllProcess'); // ApiController - flextype()->get('/api', 'ApiController:index')->setName('admin.api.index'); + flextype()->get('/api', ApiController::class . ':index')->setName('admin.api.index'); flextype()->get('/api/entries', ApiEntriesController::class . ':index')->setName('admin.api_entries.index'); flextype()->get('/api/entries/add', ApiEntriesController::class . ':add')->setName('admin.api_entries.add');