Skip to content

Instantly share code, notes, and snippets.

@danieltamiosso
Created September 17, 2010 17:53
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 danieltamiosso/584631 to your computer and use it in GitHub Desktop.
Save danieltamiosso/584631 to your computer and use it in GitHub Desktop.
def erb_theme(template, layout, options={})
erb template, options.merge(:layout => layout)
end
CLIENT_THEME = :'classic-theme/layout'
def erb_client(template, options={})
erb template, options.merge(:layout => CLIENT_THEME)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment