Skip to content

Commit

Permalink
Fix leading double slash when root is /
Browse files Browse the repository at this point in the history
  • Loading branch information
sodabrew committed Oct 9, 2015
1 parent 3b677a0 commit 06c8a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06c8a45

Please sign in to comment.