http_router
http_router copied to clipboard
Controllers with wildcard
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"]