Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

permalinks more working on heroku

  • Loading branch information...
commit 851f02fce6b84be8623a5291b65bfd98dd1fa6c3 1 parent 0d4e7b2
Philip (flip) Kromer authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 devblog.rb
View
6 devblog.rb
@@ -13,6 +13,6 @@
File.read('_site/index.html')
end
-# get ':path/?' do
-# File.read(params[:path]+'/index.html')
-# end
+get %r{^([^\.]+)/?$} do
+ File.read(params[:path]+'.html')
+end
Please sign in to comment.
Something went wrong with that request. Please try again.