Description
null sectionMenu(string $title, string $route)
Creates the main action link for your section. Usually used when you want a user to add an item.
Notice
This function requires setting the section name beforehand by using the section() function.
Parameters
$name
Title for the menu.
$route
URL route to the page.
Examples
<?php route('/foo', function() { // Must set the section first section('Foo', '/foo'); // Create an action menu sectionMenu('Create', '/foo/bar'); return view('index.html'); });