Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for the heroku ruby version I am on

  • Loading branch information...
commit 904d7b6facb53c4a2bd922ee058344706b2a7b48 1 parent 04617bf
@danmayer authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 resume.rb
View
4 resume.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.