raven/lib/routes.rb

8 lines
112 B
Ruby
Raw Normal View History

2022-12-07 17:52:27 -05:00
get '/' do
items = Item.all
erb :index, :locals => {
:title => 'Dashboard',
:items => items
}
end