2022-12-10 00:32:23 -05:00
|
|
|
namespace '/' do
|
|
|
|
|
|
|
|
get '' do
|
|
|
|
items = Item.reverse(:updated_at).limit(10).all()
|
2022-12-11 21:29:18 -05:00
|
|
|
licenses = License.reverse(:updated_at).limit(10).all()
|
2022-12-10 00:32:23 -05:00
|
|
|
erb :index, :locals => {
|
|
|
|
:title => 'Dashboard',
|
2022-12-11 21:29:18 -05:00
|
|
|
:items => items,
|
|
|
|
:licenses => licenses
|
2022-12-10 00:32:23 -05:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|