Created
July 26, 2009 06:39
-
-
Save xxx/155450 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template: | |
.foo | |
= partial 'my_header' | |
.bar | |
= form_for(@user, :action => '/users') do | |
fields and stuff here... | |
_my_header.html.haml: | |
.baz | |
= my_helper | |
helper: | |
def my_helper | |
partial "some/partial_#{rand(3)}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment