Permalink
Browse files

fix for the heroku ruby version I am on

  • Loading branch information...
1 parent 04617bf commit 904d7b6facb53c4a2bd922ee058344706b2a7b48 @danmayer committed Jul 8, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 resume.rb
View
@@ -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

0 comments on commit 904d7b6

Please sign in to comment.