Skip to content

Instantly share code, notes, and snippets.

@timlinquist
Created September 8, 2011 00:03
Show Gist options
  • Select an option

  • Save timlinquist/1202224 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

shouldn't that be

  .nav
    Testing HAML

@timlinquist
Copy link
Copy Markdown
Author

@HectorMalot
Copy link
Copy Markdown

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