[dancer-users] pass through route

Alex Mestiashvili mailatgoogl at gmail.com
Thu Feb 16 17:28:36 GMT 2017


I have too wide regexp in the route and it matches my javascript which is
loaded from the main template the following way.

<script type="text/javascript" src="<% request.uri_base
%>/javascripts/imagesloaded.pkgd.min.js"></script>

Can I create a pass through route which would filter out all /javascript
matching ?
I mean to  filter in the sense that javascript will be parsed by the
browser and not by dancer.
Or may be I can achieve that with before hooks ?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20170216/3ae35f98/attachment.html>


More information about the dancer-users mailing list