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.

32 lines
1.1 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::get('/teams', 'TeamController@index')->name('teams');
  22. Route::post('/teams/new', 'TeamController@create_team');
  23. Route::post('/teams/add-player', 'TeamController@add_player');
  24. Route::get('/scoreboard', 'ScoreboardController@index')->name('scoreboard');
  25. Route::post('/twitter/stream', 'TwitterController@input');