2 years ago

Adding new routes to my Spark

Posted 2 years ago by tolrs

Apart from the /routes/web.php the Spark routes are listed in \vendor\laravel\spark\src\Http\routes.php . I like to separate few Spark settings tab options to a separate route. For example: The profile settings route is and I'm planning to have it like I see all the controllers are in vendor\laravel\spark\src\Http\Controllers\Settings

I don't want to do ANY changes in /vendor as it will overwrite when I deploy. Please advice how to go with this by creating separate routes and controller for spark - outside the /vendor.

Please sign in or create an account to participate in this conversation.