Merge pull request #1826 from CachetHQ/controller
Avoid the deprecated controller method
This commit is contained in:
@@ -17,6 +17,7 @@ use Illuminate\Contracts\Routing\Registrar;
|
||||
* This is the setup routes class.
|
||||
*
|
||||
* @author James Brooks <james@alt-three.com>
|
||||
* @author Graham Campbell <graham@alt-three.com>
|
||||
*/
|
||||
class SetupRoutes
|
||||
{
|
||||
@@ -30,7 +31,10 @@ class SetupRoutes
|
||||
public function map(Registrar $router)
|
||||
{
|
||||
$router->group(['middleware' => ['web', 'setup']], function (Registrar $router) {
|
||||
$router->controller('setup', 'SetupController');
|
||||
$router->get('setup', 'SetupController@getIndex');
|
||||
$router->post('setup/step1', 'SetupController@postStep1');
|
||||
$router->post('setup/step2', 'SetupController@postStep2');
|
||||
$router->post('setup/step3', 'SetupController@postStep3');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user