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!