The world's easiest blog engine

This commit is contained in:
Kyle Drake 2013-06-23 19:53:20 -07:00
parent 90e40168a2
commit 91fd038d5c

5
app.rb
View file

@ -26,6 +26,11 @@ get '/browse' do
slim :browse
end
get '/blog' do
# expires 500, :public, :must_revalidate
return File.read File.join(DIR_ROOT, 'public', 'sites', 'kyledrake', 'blog.html')
end
get '/new' do
dashboard_if_signed_in
@site = Site.new