Skip to content

Instantly share code, notes, and snippets.

@komagata
Created January 13, 2012 09:40
Show Gist options
  • Save komagata/1605299 to your computer and use it in GitHub Desktop.
Save komagata/1605299 to your computer and use it in GitHub Desktop.
li_for
module ApplicationHelper
def li_for(record, prefix = nil, options = nil, &block)
content_tag_for(:li, record, prefix, options, &block)
end
end
@tkawa
Copy link

tkawa commented Jan 13, 2012

    content_tag_for(:li, record, prefix, options, &block)

seems to be well.

@komagata
Copy link
Author

Oops, thanks!
Fixed it.

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