Saturday, August 25, 2012

[Rails] index.html in rails-app/public

Hello All,

I have created a rails application on hosrtmonster and created
symbolic link of app's public folder. Now default link is to
index.html of rails-app/public folder.
I want to set another page as homepage. I also set root in routes.rb
file but its not working, also remove default index.html from public
folder.

Can anyone tell me how to add link
rails-app/app/views/home/index.html.erb to index.html in
/rails-app/public folder webpage?

If i have created symbolic link to rails-app/../../home then its not
working. .html.erb file is not working directly in browser.

--
Mandeep Kaur
http://mandeepsimak.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate