Change sinatra sample to work

This commit is contained in:
Takashi Kokubun 2015-11-21 06:42:31 +09:00
parent 425ee2e5bb
commit 0573ee91e4
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
require 'sinatra'
require 'hamlit'
User = Struct.new(:id, :name)

View File

@ -3,4 +3,4 @@
%head
%title layout.haml
%body
= yield
!= yield