<?php
// Route::get('/admin', 'AdminController@admin')->name('Admin');
// Route::get('/admin/users', 'AdminController@users');
// Route::get('/admin/edits/{link}', 'AdminController@edits')->where('link', '[a-zA-Z0-9]+')->name('Admin.Edits');
// Route::get('/admin/users/search/{query}', 'AdminController@user_search')->where('query', '[a-zA-Z0-9\@\.\-_]+');
// Route::get('/admin/notifications/create', 'AdminController@create_notification')->name('Admin.NotificationsCreate');
// Route::post('/admin/notifications/create', 'AdminController@create_notification_submit');



// // temp until fixed (fuck cors)
// Route::any('/admin/api/switch-maintenance', 'AdminApiController@switch_maintenance')->name('AdminApi.SwitchMaintenance');
// Route::any('/admin/api/blacklist', 'AdminApiController@blacklist')->name('AdminApi.Blacklist');
// Route::any('/admin/api/send-count', 'AdminApiController@send_count')->name('AdminApi.SendCount');
// Route::any('/admin/api/send-notification', 'AdminApiController@send_notification')->name('AdminApi.SendNotification');
// Route::any('/admin/api/edits', 'AdminApiController@edits')->name('AdminApi.Edits');
// Route::any('/admin/api/create-role', 'AdminApiController@addNewRank')->name('AdminApi.CreateRole');
// Route::any('/admin/api/delete-role', 'AdminApiController@delRank')->name('AdminApi.DeleteRole');