I think I'm missing a little something here ... the it's a simple image inside a link. The code :
<%= link_to image_tag "facebook.png", "auth/facebook" %>
The error is : undefined method 'symbolize_keys!' for "auth/facebook":String
What'd I do wrong here ?
This is because you're passing the args to the wrong methods:
<%= link_to (image_tag ("facebook.png", "auth/facebook")) %>
Oh, why would you ever want to do this?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With