Make rubocop happy

This commit is contained in:
Dennis Günnewig 2014-07-31 13:13:07 +02:00
parent 98a36d68f0
commit fee6a8b617

View file

@ -176,10 +176,10 @@ module Middleman
opts[:template_body] = content if content opts[:template_body] = content if content
content = if block_given? content = if block_given?
render_individual_file(path, locs, opts, context, &block) render_individual_file(path, locs, opts, context, &block)
else else
render_individual_file(path, locs, opts, context) render_individual_file(path, locs, opts, context)
end end
path = File.basename(path, File.extname(path)) path = File.basename(path, File.extname(path))
rescue LocalJumpError rescue LocalJumpError