Make rubocop happy

remove_hooks
Dennis Günnewig 2014-07-31 13:13:07 +02:00
parent 98a36d68f0
commit fee6a8b617
1 changed files with 4 additions and 4 deletions

View File

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