Change sinatra sample to work
This commit is contained in:
parent
425ee2e5bb
commit
0573ee91e4
|
@ -1,4 +1,5 @@
|
||||||
require 'sinatra'
|
require 'sinatra'
|
||||||
|
require 'hamlit'
|
||||||
|
|
||||||
User = Struct.new(:id, :name)
|
User = Struct.new(:id, :name)
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
%head
|
%head
|
||||||
%title layout.haml
|
%title layout.haml
|
||||||
%body
|
%body
|
||||||
= yield
|
!= yield
|
||||||
|
|
Loading…
Reference in New Issue