Re: webroot/js + /subdir
well, thats wrong
it will always use the file right away
ONLY if it is missing it will attempt to infer a controller (and a 404
then)
On 2 Mai, 21:29, lsiden <lsi...@gmail.com> wrote:
> 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