refactored view package
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
"git.haelnorr.com/h/golib/hws"
|
||||
"git.haelnorr.com/h/oslstats/internal/db"
|
||||
"git.haelnorr.com/h/oslstats/internal/view/page"
|
||||
seasonsview "git.haelnorr.com/h/oslstats/internal/view/seasonsview"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/uptrace/bun"
|
||||
)
|
||||
@@ -31,7 +31,7 @@ func SeasonsPage(
|
||||
}); !ok {
|
||||
return
|
||||
}
|
||||
renderSafely(page.SeasonsPage(seasons), s, r, w)
|
||||
renderSafely(seasonsview.ListPage(seasons), s, r, w)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -55,6 +55,6 @@ func SeasonsList(
|
||||
}); !ok {
|
||||
return
|
||||
}
|
||||
renderSafely(page.SeasonsList(seasons), s, r, w)
|
||||
renderSafely(seasonsview.SeasonsList(seasons), s, r, w)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user