Created
October 26, 2011 21:28
-
-
Save enriqueaf/1317935 to your computer and use it in GitHub Desktop.
First try for middleman and pjax
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
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