I have a url
localhost:3000/public/my/23
is it possible to have this instead that will load the above?
localhost:3000/my/23
(without public)
thanks
I have a url
localhost:3000/public/my/23
is it possible to have this instead that will load the above?
localhost:3000/my/23
(without public)
thanks
ok ive worked this out
map.connect ‘my/:id’, :controller => ‘public’, :action => ‘my’
but i it now possible to forward any one that types in public to be sent
to the /my/:id one?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs