From e6b8488b757f1d6036fd74b75f44d8c75ed3779f Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 16 Jan 2017 16:53:13 +0000 Subject: issue fixes;added faq --- application.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 4eb4a36..fa5df0a 100644 --- a/application.rb +++ b/application.rb @@ -175,6 +175,11 @@ get '/license' do haml :license, :layout => false end +get '/faq' do + @faq = RDiscount.new(File.read("FAQ.md")).to_html + haml :faq, :layout => false +end + get '/style.css' do headers 'Content-Type' => 'text/css; charset=utf-8' scss :style -- cgit v1.2.3