move new index mockup to main index

This commit is contained in:
Kyle Drake 2014-10-15 15:33:22 -07:00
parent 8cb368e584
commit f2bf9da535
4 changed files with 350 additions and 684 deletions

10
app.rb
View file

@ -57,16 +57,6 @@ error do
end
# :nocov:
get '/newindex_mockup' do
if SimpleCache.expired?(:sites_count)
@sites_count = SimpleCache.store :sites_count, Site.count.roundup(100), 600 # 10 Minutes
else
@sites_count = SimpleCache.get :sites_count
end
erb :newindex_mockup, layout: false
end
get '/home_mockup' do
erb :'home_mockup'
end