Skip to content

Instantly share code, notes, and snippets.

@niko-afv
Created April 21, 2015 18:42
Show Gist options
  • Select an option

  • Save niko-afv/d977043120b7cc903ce1 to your computer and use it in GitHub Desktop.

Select an option

Save niko-afv/d977043120b7cc903ce1 to your computer and use it in GitHub Desktop.
My app/Http/routes.php
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
Route::get('/', 'WelcomeController@index');
Route::get('home', 'HomeController@index');
Route::get('dashboard', 'DashboardController@index');
/*Route::get('login', 'LoginController@index');
Route::post('register', 'LoginController@activate');*/
Route::get('activate/{token}/{club}/{email}', 'LoginController@activate2');
//Route::get('register', 'LoginController@register');
Route::get('404', function(){
abort(404);
});
Route::controllers([
'auth' => 'Auth\AuthController',
'password' => 'Auth\PasswordController',
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment