Skip to content

Instantly share code, notes, and snippets.

@enriqueaf
Created October 26, 2011 21:28
Show Gist options
  • Save enriqueaf/1317935 to your computer and use it in GitHub Desktop.
Save enriqueaf/1317935 to your computer and use it in GitHub Desktop.
First try for middleman and pjax
paths_for_url('/guides/*').each do |url|
get(url) do |p|
page "/pjax/guides/#{p}", :proxy=>"/guides/#{p}",:layout=>"pjax"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment