Old high school files. Lessson notes/codes/projects etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hsf/wesweb01/slimtest/app.rb

21 lines
187 B

3 years ago
#!/usr/bin/ruby
require "sinatra"
require "slim"
def test()
return "hej"
end
get "/" do
slim(:layout)
end
get "/potatis" do
slim(:potatis)
end
get "/annat" do
slim(:annat)
end