presenta7on logic from business logic and presenta7on state. Please use it fuel your produc7vity and applica7on maintainability rather than heated discussions about things that at the end of the day don't ma>er that much."
get '/' do erb :index end get '/api/items' do json :data => [ { :title => 'Pick up the milk', :done => false }, { :title => 'Return books to the library', :done => true }, { :title => 'Buy birthday gift for Bob', :done => false }, ] end