webdap/app/controllers/index.rb

10 lines
121 B
Ruby

class IndexController < Sinatra::Base
get '/' do
erb :index, :locals => {
:title => 'Home'
}
end
end