Revamped the home page a bit
This commit is contained in:
@ -2,9 +2,11 @@ namespace '/' do
|
||||
|
||||
get '' do
|
||||
items = Item.reverse(:updated_at).limit(10).all()
|
||||
licenses = License.reverse(:updated_at).limit(10).all()
|
||||
erb :index, :locals => {
|
||||
:title => 'Dashboard',
|
||||
:items => items
|
||||
:items => items,
|
||||
:licenses => licenses
|
||||
}
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user