How does one go about setting the default home directory to something
besides /public?
Thanks in advance,
Peter
How does one go about setting the default home directory to something
besides /public?
Thanks in advance,
Peter
On 8 Oct 2007, at 17:56, Peter H. wrote:
How does one go about setting the default home directory to something
besides /public?
map.connect ‘’, …
or in rails 2.0
map.root …
Fred
Frederick C. wrote:
On 8 Oct 2007, at 17:56, Peter H. wrote:
How does one go about setting the default home directory to something
besides /public?map.connect ‘’, …
or in rails 2.0
map.root …Fred
Hi Fred
Thanks for the reply.
I have my route set to
map.connect ‘:controller/:action/:id’
map.connect ‘’, :controller => “home”, :action => “index”
and I have tried
map.connect ‘:controller/:action/:id’
map.connect ‘/home’, :controller => “home”, :action => “index”
Something else that seems odd is if I rename my public/index.html to
index.rhtml the page does not parse.
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