Skip to content

Commit 8474b41

Browse files
committed
Remove _partial micro-optimization
1 parent 8f9993a commit 8474b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jbuilder/jbuilder_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def _render_partial_with_options(options)
178178

179179
def _render_partial(options)
180180
options[:locals][:json] = self
181-
@context.render options, nil
181+
@context.render options
182182
end
183183

184184
def _cache_fragment_for(key, options, &block)

0 commit comments

Comments
 (0)