Oh, that was just a typo, here's the correct code (which, still,
doesn't work for me):
= link_to image_tag('logo.gif', {:size => '120x120', :alt => 'Logo'}),
|
root_path, |
:id => 'logo'
Thanks.
On Aug 3, 8:27 pm, Sean Cribbs <[EMAIL PROTECTED]> wrote:
> You're missing a ) at the end. Also, you don't need {} for hashes that
> appear as the last arguments of a method call, if you want to cut down
> on line-length.
>
> Sean
>
> Ivan wrote:
> > Hi,
>
> > I'm trying to do something like this, but apparently it's not
> > possible:
>
> > = link_to(image_tag 'logo.gif', {:size => '120x120', :alt => 'Site
> > Logo'}), |
> > root_path, |
> > {:id => 'site_logo'}
>
> > I get a syntax error. Am I doing this incorrectly?
>
> > Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---