Fix create role route
This commit is contained in:
parent
9d92053865
commit
193086548f
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue