Monday, May 2, 2011

webroot/js + /subdir

An issue that just came up is that if cake gets a request for a file
like /js/subdir/myfile.js, it handles it as if it were a request for
an entire page, i.e. it attempts to infer a controller and view
instead of just serving the .js file as application/javascript. Is
this the intended behavior? If so, how would I configure the Router
to recognize Javascript files in subdirs?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate