Skip to content

Instantly share code, notes, and snippets.

@hyphenPaul
Created July 7, 2014 23:20
Show Gist options
  • Save hyphenPaul/351ff28fc994d8ea7d1a to your computer and use it in GitHub Desktop.
Save hyphenPaul/351ff28fc994d8ea7d1a to your computer and use it in GitHub Desktop.
def to_partial_path
"foo/foo_#{type}"
end
render @foos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment