raven/lib/routes.rb

8 lines
112 B
Ruby

get '/' do
items = Item.all
erb :index, :locals => {
:title => 'Dashboard',
:items => items
}
end