mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-21 18:42:29 +01:00
Remove obsolete code
This commit is contained in:
parent
d107134548
commit
603ad1c653
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user