diff --git a/lib/showoff.rb b/lib/showoff.rb index 693f94c9..e4537855 100644 --- a/lib/showoff.rb +++ b/lib/showoff.rb @@ -1810,7 +1810,7 @@ def manage_client_cookies(presenter=false) end end - get %r{(?:image|file)/(.*)} do + get %r{/(?:image|file)/(.*)} do path = params[:captures].first full_path = File.join(settings.pres_dir, path) if File.exist?(full_path)