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.

37 lines
1.4 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('/slideshow', 'SlideshowController@slideshow')->name('slideshow');
  25. Route::get('/teams', 'TeamController@index')->name('teams');
  26. Route::post('/teams/new', 'TeamController@create_team');
  27. Route::post('/teams/add-player', 'TeamController@add_player');
  28. Route::get('/scoreboard', 'ScoreboardController@index')->name('scoreboard');
  29. Route::post('/twitter/stream', 'TwitterController@input');