This commit is contained in:
Sami Samhuri 2015-05-11 23:30:51 -07:00
parent 3520059ff7
commit d870dc9e7d

View file

@ -73,7 +73,6 @@ set :port, $config[:port]
blog = HarpBlog.new($config[:path], $config[:dry_run]) blog = HarpBlog.new($config[:path], $config[:dry_run])
before do before do
@wait_for_compilation = @fields['wait']
if request.body.size > 0 if request.body.size > 0
@fields = @fields =
case case
@ -87,6 +86,7 @@ before do
else else
@fields = {} @fields = {}
end end
@wait_for_compilation = @fields['wait']
end end
after do after do