You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.0 KiB

  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Web Routes
  5. |--------------------------------------------------------------------------
  6. |
  7. | Here is where you can register web routes for your application. These
  8. | routes are loaded by the RouteServiceProvider within a group which
  9. | contains the "web" middleware group. Now create something great!
  10. |
  11. */
  12. Route::get('/', function () {
  13. return view('welcome');
  14. });
  15. Auth::routes();
  16. Route::get('/dashboard', 'DashboardController@index')->name('dashboard');
  17. Route::get('/dashboard/queue', 'DashboardController@queue')->name('queue');
  18. Route::get('/dashboard/ping', 'DashboardController@ping');
  19. Route::get('/dashboard/dropdowns', 'DashboardController@load_dropdowns');
  20. Route::post('/dashboard/claim-tweet', 'DashboardController@claim_tweet');
  21. Route::post('/dashboard/reject-tweet', 'DashboardController@reject_tweet');
  22. Route::post('/dashboard/score-tweet', 'DashboardController@score_tweet');
  23. Route::post('/dashboard/reply', 'DashboardController@reply_to_tweet');
  24. Route::get('/import', 'ImportController@index')->name('import');
  25. Route::post('/import/preview', 'ImportController@preview');
  26. Route::get('/import/preview', 'ImportController@preview');
  27. Route::post('/import/save', 'ImportController@save');
  28. Route::get('/slideshow', 'SlideshowController@slideshow')->name('slideshow');
  29. Route::get('/teams', 'TeamController@index')->name('teams');
  30. Route::post('/teams/new', 'TeamController@create_team');
  31. Route::post('/teams/add-player', 'TeamController@add_player');
  32. Route::get('/scoreboard', 'ScoreboardController@index')->name('scoreboard');
  33. Route::post('/twitter/stream', 'TwitterController@input');
  34. Route::get('/mission/{mission}', 'ShowTweetsController@mission')->name('mission');
  35. Route::get('/team/{team}', 'ShowTweetsController@team')->name('team');
  36. Route::get('/sms', 'SMSController@index')->name('sms');
  37. Route::post('/sms/save-numbers', 'SMSController@save')->name('sms-save');
  38. Route::post('/sms/send', 'SMSController@send')->name('sms-send');