Magic routing

IgnitedCMS ships with its own magic routing. Meaning for each section you create, the engine will automagically create default routes for everything that is url and seo friendly.


In order to get this working navigate to routes > web.php


And simply add the following

<?php use Ignitedcms\Ignitedcms\Models\admin\Router; use Illuminate\Support\Facades\Route; Route::get('/', function () { return view('welcome'); }); /* |--------------------------------------------------------------- | IgnitedCMS magic routes below |--------------------------------------------------------------- */ Router::getRoutes();

With that done, point you can point your url to the section name, and it will display the content.