close #700 Fixed: Signed url not working
This commit is contained in:
		@@ -39,6 +39,8 @@ class RouteServiceProvider extends ServiceProvider
 | 
			
		||||
 | 
			
		||||
        $this->mapWebRoutes();
 | 
			
		||||
 | 
			
		||||
        $this->mapSignedRoutes();
 | 
			
		||||
 | 
			
		||||
        //
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -52,8 +54,23 @@ class RouteServiceProvider extends ServiceProvider
 | 
			
		||||
    protected function mapWebRoutes()
 | 
			
		||||
    {
 | 
			
		||||
        Route::middleware('web')
 | 
			
		||||
             ->namespace($this->namespace)
 | 
			
		||||
             ->group(base_path('routes/web.php'));
 | 
			
		||||
                ->namespace($this->namespace)
 | 
			
		||||
                ->group(base_path('routes/web.php'));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Define the "signed" routes for the application.
 | 
			
		||||
     *
 | 
			
		||||
     * These routes all receive session state, CSRF protection, etc.
 | 
			
		||||
     *
 | 
			
		||||
     * @return void
 | 
			
		||||
     */
 | 
			
		||||
    protected function mapSignedRoutes()
 | 
			
		||||
    {
 | 
			
		||||
        Route::prefix('signed')
 | 
			
		||||
                ->middleware('signed')
 | 
			
		||||
                ->namespace($this->namespace)
 | 
			
		||||
                ->group(base_path('routes/signed.php'));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
@@ -66,8 +83,8 @@ class RouteServiceProvider extends ServiceProvider
 | 
			
		||||
    protected function mapApiRoutes()
 | 
			
		||||
    {
 | 
			
		||||
        Route::prefix('api')
 | 
			
		||||
             ->middleware('api')
 | 
			
		||||
             ->namespace($this->namespace)
 | 
			
		||||
             ->group(base_path('routes/api.php'));
 | 
			
		||||
                ->middleware('api')
 | 
			
		||||
                ->namespace($this->namespace)
 | 
			
		||||
                ->group(base_path('routes/api.php'));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user