Fix create role route

This commit is contained in:
Matthew Penner 2020-12-30 20:18:56 -07:00
parent 9d92053865
commit 193086548f
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ const FlashMessageRender = ({ byKey, className }: Props) => {
{
flashes.map((flash, index) => (
<React.Fragment key={flash.id || flash.type + flash.message}>
{index > 0 && <div css={tw`mt-2`}></div>}
{index > 0 && <div css={tw`mt-2`}/>}
<MessageBox type={flash.type} title={flash.title}>
{flash.message}
</MessageBox>

View file

@ -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');
});