I have a url
http://127.0.0.1:4000/countries/america/states/texas
but the template for that page containing
url(:this)
returns
/countries/spain
not the full URL. (I assume it should do so--I haven't any formal
documentation stating this.)
the relevant portions of my route contain
match('/countries').
to(:controller => :countries, :action => "index_countries").
name(:country_index)
match('/countries/:apple/states/:orange/cities').
to(:controller => :countries, :action => "index_cities").
name(:country_cities)
match('/countries/:apple/states/:orange/towns').
to(:controller => :countries, :action => "index_towns").
name(:country_towns)
match('/countries/:book(/states/:ditch)(/cities/:emu)(/
towns/:fud)').
to(:controller => :countries, :action => "index_restaurants").
name(:country_restaurants)
--
You received this message because you are subscribed to the Google Groups
"merb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/merb?hl=en.