Topic: How to create a link

I have a index.html.erb under app/views/home page and there is having "Login" link. What i want to do is create a link "Login" link which will point to login.html.erb which is under app/views/

I tried to do it by routes but didn't succeed. Please help on this.

Re: How to create a link

I you don't provide the minimal effort to search and understand you'll not find any help and any forum. It's a basic question, please try googling a little and search in the rails guides  before asking such a question !

read here : for your link_to question (and read other chapters too)