Skip to content

Commit

Permalink
Double render bug in tilt causes problems with /feed rendering on se…
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhess committed Jan 17, 2011
1 parent fe8aa4a commit 36f64e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
)
end

# Disable template caching until a new version of Tilt comes out. This is
# a performance hit:
# https://github.com/sinatra/sinatra/issuesearch?state=open&q=builder#issue/166/comment/681668
enable :reload_templates

error do
e = request.env['sinatra.error']
puts e.to_s
Expand Down

0 comments on commit 36f64e8

Please sign in to comment.