diff --git a/lib/web/server.rb b/lib/web/server.rb index ea44391..6dfffe2 100644 --- a/lib/web/server.rb +++ b/lib/web/server.rb @@ -34,14 +34,6 @@ configure :test do end helpers do - def versioned_javascript(javascript) - version = File.mtime(File.join(Sinatra::Application.public_folder, - 'javascripts', - "#{javascript}.js")).to_i.to_s - - "/javascripts/#{javascript}.js?#{version}" - end - def end_of_day_quote @end_of_day_quote ||= begin quote = Quote::EndOfDay.new(query) @@ -80,10 +72,6 @@ helpers do end end -options '*' do - 200 -end - get '/' do # FIXME: We should cache this in production. parser = Redcarpet::Markdown.new(Redcarpet::Render::HTML,