Permalink
Browse files

merge bmizerany/master

  • Loading branch information...
rtomayko committed Nov 11, 2008
2 parents 68d76aa + 7034623 commit 91d453f33b241cc160231e499c482bacbfffa131
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra.rb
View
@@ -1376,7 +1376,7 @@ def helpers(&b)
end
def use_in_file_templates!
- data = IO.read(caller.first.split(':').first).split('__FILE__').last
+ data = IO.read(caller.first.split(':').first).split('__END__').last
data.gsub! /\r\n/, "\n"
current_template = nil
data.each_line do |line|

0 comments on commit 91d453f

Please sign in to comment.