Controllers with wildcard #22

basex opened this Issue Dec 14, 2011 · 0 comments

1 participant


In the last version of the http_router the controllers with a wildcard don't seem to be working correctly:

I'm trying to do:

get :subpermalinks, :map => "/:permalink/*subpermalinks", :priority => :low do |permalink,subpermalinks|

When I access a url like "/electronics/apple" I get:

permalink = ["electronics","apple"]
subpermalinks = "electronics"

before I used to correctly get:

permalink = "electronics"
subpermalinks = ["apple"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment