What I’m trying to do is linking a domain to a public folder.
match ‘/:any’ => ‘/public/something/:any’, :constraints => { :host =>
“localhost” }
But match only accept a controller, so, how could I do this?
What I’m trying to do is linking a domain to a public folder.
match ‘/:any’ => ‘/public/something/:any’, :constraints => { :host =>
“localhost” }
But match only accept a controller, so, how could I do this?
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