Skip to content
Browse files

Adhere to sinatra style

  • Loading branch information...
1 parent 2791c29 commit 7190d9612a0f2bee5ac9b57b033df952781a69d2 @floere floere committed Mar 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra/base.rb
View
2 lib/sinatra/base.rb
@@ -1460,7 +1460,7 @@ def compile(path)
#
if segment = segments.pop
if segment.match(/\[\^\\\./)
- parts = segment.rpartition /\[\^\\\./
+ parts = segment.rpartition(/\[\^\\\./)
parts[1] = '[^'
segments << parts.join
else

0 comments on commit 7190d96

Please sign in to comment.
Something went wrong with that request. Please try again.