From 193086548f39ccd62976af8db674fd73b8d75e8e Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Wed, 30 Dec 2020 20:18:56 -0700 Subject: [PATCH] Fix create role route --- resources/scripts/components/FlashMessageRender.tsx | 2 +- routes/api-application.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/scripts/components/FlashMessageRender.tsx b/resources/scripts/components/FlashMessageRender.tsx index 6bd22f891..137d6d8d7 100644 --- a/resources/scripts/components/FlashMessageRender.tsx +++ b/resources/scripts/components/FlashMessageRender.tsx @@ -19,7 +19,7 @@ const FlashMessageRender = ({ byKey, className }: Props) => { { flashes.map((flash, index) => ( - {index > 0 &&
} + {index > 0 &&
} {flash.message} diff --git a/routes/api-application.php b/routes/api-application.php index 6000d138a..61b794927 100644 --- a/routes/api-application.php +++ b/routes/api-application.php @@ -134,7 +134,7 @@ Route::group(['prefix' => '/roles'], function () { Route::get('/', 'Roles\RoleController@index'); Route::get('/{role}', 'Roles\RoleController@view'); - Route::post('/', 'Roles\oleController@store'); + Route::post('/', 'Roles\RoleController@store'); Route::delete('/{role}', 'Roles\RoleController@delete'); });