Re: [Rails] index.html in rails-app/public
On 25 August 2012 17:27, Mandeep Kaur <meghasimak@gmail.com> wrote:
> 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.
Sorry I cannot understand what you are trying to do.
What URL are you trying to use?
Are you trying to run a controller action from that url? Is so what
controller and action?
Colin
--
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