From 5b35f92bfe51c1738b75b301d2531c386eca6fb7 Mon Sep 17 00:00:00 2001 From: Adam Krebs Date: Wed, 11 Dec 2013 18:01:40 -0500 Subject: [PATCH] remove accidental sinatra sample. copypasta.... --- samples/Ruby/sinatra.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/samples/Ruby/sinatra.rb b/samples/Ruby/sinatra.rb index 2909883c..36ec2a2f 100644 --- a/samples/Ruby/sinatra.rb +++ b/samples/Ruby/sinatra.rb @@ -598,11 +598,6 @@ module Sinatra render :less, template, options, locals end - def stylus(template, options={}, locals={}) - options.merge! :layout => false, :default_content_type => :css - render :stylus, template, options, locals - end - def builder(template=nil, options={}, locals={}, &block) options[:default_content_type] = :xml render_ruby(:builder, template, options, locals, &block)