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.

29 lines
917 B

  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('/home', 'HomeController@index')->name('home');
  17. Route::get('/teams', 'TeamController@index')->name('teams');
  18. Route::post('/teams/new', 'TeamController@create_team');
  19. Route::post('/teams/add-player', 'TeamController@add_player');
  20. Route::post('/teams/remove-player', 'TeamController@remove_player');
  21. Route::get('/scoreboard', 'ScoreboardController@index')->name('scoreboard');
  22. Route::post('/twitter/stream', 'TwitterController@input');