Added some more tests; changed URLs for model list pages and added redirects
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2025-08-12 18:22:22 -04:00
parent f40d69a98d
commit 3a136865b0
10 changed files with 161 additions and 1 deletions

View File

@@ -7,6 +7,10 @@ require_relative '../models/benchmark'
class BenchmarkController < BaseController
get '/benchmark' do
redirect('/benchmark/list')
end
get '/benchmark/list' do
benchmarks = Benchmark.reverse(:updated_at).limit(10).all()
erb :'benchmark/index', locals: {