Permalink
Browse files

Using erb instead of haml.

  • Loading branch information...
1 parent 341eb24 commit c93586dd266c52cb252eb81ee89453328822a32d Ernesto Tagwerker committed Feb 28, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/render_partial.rb
View
@@ -4,9 +4,9 @@
module Sinatra
module RenderPartial
def partial(page, options={})
- haml page, options.merge!(:layout => false)
+ erb page, options.merge!(:layout => false)
end
end
-
+
helpers RenderPartial
-end
+end

0 comments on commit c93586d

Please sign in to comment.