I am new to rails 3, I would like to add (:target => "_blank") to link_to helper below
link_to "GOOGLE", 'http://www.google.com', class: "btn btn-large btn-primary"
But I would like to use the application_helper to define link_to method.
- How do I define the link_to methd in application_helper?
- How do I pass the class: "btn btn-large btn-primary" in the link_to method?
Thank you for your assistance...