<?php
namespace Coevering\Routes;
class RouteService
{
public function getByController($search)
{
foreach( \Lang::get('app/routes') as $route => $controller)
{
if($search == $controller)
{
return $route;
}
}
return false;
}
}