link_to feed_item.votes_for + "Into it!", into_it_micropost_path(feed_item.id)
I basically want the hyperlink to be that variable next to the string “Into it!”
how can i achieve this? thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Actually it seems to me your version is supposed to work just fine.
Maybe try to put it in another way:
Don’t forget that for the link to appear you will have to put it inside
<%= %>