lib/showoff.rb in showoff-0.9.10.4 vs lib/showoff.rb in showoff-0.9.10.5

- old
+ new

@@ -928,11 +928,12 @@ end def self.do_static(args) - what = args[0] || "index" - opt = args[1] + args ||= [] # handle nil arguments + what = args[0] || "index" + opt = args[1] # Sinatra now aliases new to new! # https://github.com/sinatra/sinatra/blob/v1.3.3/lib/sinatra/base.rb#L1369 showoff = ShowOff.new!