From 06c8a45b82128b3ca7428d53ab1e570fa4964b4c Mon Sep 17 00:00:00 2001 From: Aaron Stone Date: Fri, 9 Oct 2015 12:54:23 -0700 Subject: [PATCH] Fix leading double slash when root is / --- code/main.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/main.rb b/code/main.rb index 89931b8..fdbae04 100644 --- a/code/main.rb +++ b/code/main.rb @@ -145,7 +145,7 @@ def flash(type, msg) end get '/' do - erb :main, :locals => { :main_path => "#{root}/q" } + erb :main, :locals => { :main_path => "#{root}q" } end get '/new_queue' do