diff --git a/src/Http/routes.php b/src/Http/routes.php index c6da75c..7eab235 100644 --- a/src/Http/routes.php +++ b/src/Http/routes.php @@ -17,7 +17,7 @@ Route::post('widget/create', ['as' => 'widget.create.post', 'uses' => 'WidgetController@postCreate']); Route::get('widget/{id/}template', ['as' => 'widget.template', 'uses' => 'WidgetController@getCreate']); Route::post('widget/{id}/delete', ['as' => 'widget.delete', 'uses' => 'WidgetController@postDelete']); - Route::get('widget/popup', ['as' => 'widget.popup_list', 'uses' => 'WidgetController@getPopupList']); + Route::get('widget/popup/{id}', ['as' => 'widget.popup_list', 'uses' => 'WidgetController@getPopupList']); Route::get('widget/{type}', ['as' => 'widget.list.by_type', 'uses' => 'WidgetController@getIndex']); });