Skip to content

Commit

Permalink
fix for the heroku ruby version I am on
Browse files Browse the repository at this point in the history
  • Loading branch information
danmayer committed Jul 8, 2010
1 parent 04617bf commit 904d7b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resume.rb
Expand Up @@ -8,7 +8,9 @@
require 'maruku'

get '/' do
title = resume_data.lines.first.strip
title = resume_data.split("\n").first
#oops 1.8.7 only?
#resume_data.lines.first.strip
resume = RDiscount.new(resume_data, :smart).to_html
erubis :index, :locals => { :title => title, :resume => resume, :formats => true }
end
Expand Down

0 comments on commit 904d7b6

Please sign in to comment.