Skip to content

Instantly share code, notes, and snippets.

@collin
Created July 16, 2009 10:49
Show Gist options
  • Select an option

  • Save collin/148360 to your computer and use it in GitHub Desktop.

Select an option

Save collin/148360 to your computer and use it in GitHub Desktop.
proxy_pass '/blog/', 'http://whattech_wp/index.php/' do |doc|
@staticmatic = StaticMatic::Base.new(File.dirname(__FILE__))
doc = Hpricot(doc)
Engine.render self do
"#{doc/'head'}#{doc/'#content'}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment