Route::group(['middleware' =>['auth', 'verified']], function (){
Route::get('communities/{community}/posts/creategif', [AppHttpControllersCommunityPostController::class, 'creategif']);
Route::resource('communities', AppHttpControllersCommunityController::class);
Route::resource('communities.posts', AppHttpControllersCommunityPostController::class);
Route::resource('posts.comments', AppHttpControllersPostCommentController::class);
Route::get('posts/{post_id}/vote/{vote}', [AppHttpControllersCommunityPostController::class, 'vote'])->name('post.vote');
});