I have a problem with routing while using Neil Crook when I look for something, the URL looks like this:
But now all other links have the name of the plugin in their URL. For example: $ html-> link (__ ('news', true), array ('controller' => 'news', 'action' => 'index')); This creates the link URL:
I already have in app / config / routes.php:
router :: connect ('/ search /: type /: word / *', array ('plugin' = & gt; 'searchable', 'controller' = & gt; 'search_index', 'action' = & Gt; ',)); Any ideas how can I get rid of "/ search /" for my normal app link ???
Comments
Post a Comment