Skip to content

Commit b51ddda

Browse files
author
David Heinemeier Hansson
committed
Merge pull request #60 from jjaffeux/fix-regression-#59
Fix a regression added in pr #59
2 parents a4e5e5d + 1c6f033 commit b51ddda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jbuilder_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def initialize(context, *args)
66

77
def partial!(options, locals = {})
88
case options
9-
when Hash
9+
when ::Hash
1010
options[:locals] ||= {}
1111
options[:locals].merge!(:json => self)
1212
@context.render(options)

0 commit comments

Comments
 (0)