Sinatra link routing

I lost what I had before and am trying to reconstruct it. If you can see
my attached file then what I’m trying to do is get any listed markdown
files that show on the rdoc and md pages to render by clicking the link
in its associated view file.erb

Here is the site I’m working at and soon I’ll have the pages up and
showing the markdown and rdoc files there but my question is "how do I
get this routes.rb file to post them? Thanks in advance!

Oh! here’s the link: or

Well sorry for this but I just got it working. Attached is the updated
routes.rb file

Thanks again!