Skip to content

Instantly share code, notes, and snippets.

@timlinquist
Created September 8, 2011 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timlinquist/1202224 to your computer and use it in GitHub Desktop.
Save timlinquist/1202224 to your computer and use it in GitHub Desktop.
haml caching
- cache(:client=> @client.id, :store => @store.id, :action => local_assigns[:cache_action] || "prices_mobile") do
%nav
Testing HAML
@HectorMalot
Copy link

shouldn't that be

  .nav
    Testing HAML

@timlinquist
Copy link
Author

@HectorMalot
Copy link

I agree, but you were comparing this to https://gist.github.com/1202218 , which is a div with the id nav. (in which case it should be #nav anyway...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment