From df8ed98fcc052da2641c26897a8dd0592f274e53 Mon Sep 17 00:00:00 2001 From: gebele Date: Fri, 15 Apr 2016 09:59:43 +0000 Subject: reactivated info buttons; changed unit for fish; introduced FAQ --- application.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 6c6a73f..cebe4f2 100644 --- a/application.rb +++ b/application.rb @@ -1,4 +1,5 @@ require_relative 'helper.rb' +require 'rdiscount' include OpenTox #require File.join(ENV["HOME"],".opentox","config","lazar-gui.rb") # until added to ot-tools @@ -304,6 +305,11 @@ post '/predict/?' do end end +get '/faq' do + @faq = RDiscount.new(File.read("FAQ.md")).to_html + haml :faq, :layout => :faq_layout +end + get '/style.css' do headers 'Content-Type' => 'text/css; charset=utf-8' scss :style -- cgit v1.2.3