From 8bbb95839061259b642b16ef85f7aa4a0f878e2c Mon Sep 17 00:00:00 2001 From: rautenberg Date: Wed, 9 Jan 2013 15:33:03 +0100 Subject: basic layout with css / w3c conformity --- application.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'application.rb') diff --git a/application.rb b/application.rb index b065a58..c5e1a83 100644 --- a/application.rb +++ b/application.rb @@ -301,4 +301,11 @@ class Application < Sinatra::Base @fp.sort!{|a,b| b["p_active"] <=> a["p_active"]} haml :fp end + + # SASS stylesheet + get '/style.css' do + headers 'Content-Type' => 'text/css; charset=utf-8' + scss :style + end + end -- cgit v1.2.3