Shouldn't it be: RewriteRule ^upozorenje/index$ warnings/index [L]
Also, the router does a lot more than just a rewrite like that. Op donderdag 11 juli 2013 08:54:14 UTC+2 schreef boris het volgende: > > In the new version of CakePHP's RewriteRule not working as before. For > example: > RewriteRule ^upozorenje/index $warnings/index [L] > > Error is printed: > > Error: UpozorenjeController could not be found. > > I don't like use Router::connect() because it really slows the application. > Thanks, > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.