mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
remove accidental sinatra sample. copypasta....
This commit is contained in:
@@ -598,11 +598,6 @@ module Sinatra
|
|||||||
render :less, template, options, locals
|
render :less, template, options, locals
|
||||||
end
|
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)
|
def builder(template=nil, options={}, locals={}, &block)
|
||||||
options[:default_content_type] = :xml
|
options[:default_content_type] = :xml
|
||||||
render_ruby(:builder, template, options, locals, &block)
|
render_ruby(:builder, template, options, locals, &block)
|
||||||
|
|||||||
Reference in New Issue
Block a user