Permalink
Browse files

Fixing javascript routing issue (pluralization)

  • Loading branch information...
1 parent be9b58b commit 4ad2937c506e600c166c895f78ff4cbbee5d61ee @linenoise committed Apr 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rules
View
4 Rules
@@ -3,7 +3,7 @@
### COMPILATION RULES
# Don’t filter or layout assets
-compile %r{^/(favicon|robots|crypto/.*|stylesheets/.*|javascripts/.*|plugins/.*|fonts/.*|images/.*|photos/.*)/$} do
+compile %r{^/(favicon|robots|crypto/.*|stylesheets/.*|javascript/.*|plugins/.*|fonts/.*|images/.*|photos/.*)/$} do
end
compile '/' do
@@ -30,7 +30,7 @@ route '/photos/*/', :rep => :thumbnail do
item.identifier.chop + '-thumbnail.' + item[:extension]
end
-route %r{^/(favicon|robots|sitemap|crypto/.*|stylesheets/.*|javascripts/.*|plugins/.*|fonts/.*|images/.*|photos/.*)/$} do
+route %r{^/(favicon|robots|sitemap|crypto/.*|stylesheets/.*|javascript/.*|plugins/.*|fonts/.*|images/.*|photos/.*)/$} do
ext = item[:extension]
item.identifier.chop + '.' + ext
end

0 comments on commit 4ad2937

Please sign in to comment.