src/DevMarketer/EasyNav/EasyNav.php
public function isRoute($route, $active = NULL)
	{
		$this->setActive($active);
		return ($this->request->routeIs($route) ? $this->active : '');
	}
public function isRoute($route, $active = NULL)
	{
		$this->setActive($active);
		return ($this->request->routeIs($route) ? $this->active : '');
	}
public function isRoute ( $ route , $ active = NULL ) { $ this -> setActive ( $ active ) ; return ( $ this -> request -> routeIs ( $ route ) ? $ this -> active : '' ) ; }
Receives a named route and returns true or false depending
if the current URL is equal to the named route provided.

@param 	string				$route
@param 	string|NULL		$active
@return	string
Receives a named route and returns true or false depending if the current URL is equal to the named route provided .