Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[padrino-core] Correct test regex

  • Loading branch information...
commit 99fe0cb0544e2ee3ed6d4031e70a6d8834b3d35a 1 parent 2ca0357
@joshbuddy joshbuddy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  padrino-core/test/test_routing.rb
View
2  padrino-core/test/test_routing.rb
@@ -37,7 +37,7 @@ class TestRouting < Test::Unit::TestCase
get %r{/([0-9]+)/} do |num|
"Your lucky number: #{num} #{params[:captures].first}"
end
- get /\/|\/page\/([0-9]+)/ do |num|
+ get /\/page\/([0-9]+)|\// do |num|
"My lucky number: #{num} #{params[:captures].first}"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.