lib/sinatra/rdiscount.rb in wbzyl-sinatra-rdiscount-0.1.4 vs lib/sinatra/rdiscount.rb in wbzyl-sinatra-rdiscount-0.1.5
- old
+ new
@@ -10,10 +10,10 @@
render :rdiscount, template, options, locals
end
private
- def render_rdiscount(template, data, options, locals, &block)
+ def render_rdiscount(data, options, locals, &block)
if block_given?
# render layout
instance = ::Erubis::Eruby.new(data)
else
# render template