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

@@ -9,6 +9,10 @@ require_relative '../models/test'
class TestController < BaseController
get '/test' do
redirect('/test/list')
end
get '/test/list' do
tests = Test.reverse(:updated_at).limit(10).all()
erb :'test/index', locals: {