lib/jbuilder/jbuilder_template.rb in jbuilder-2.3.0 vs lib/jbuilder/jbuilder_template.rb in jbuilder-2.3.1
- old
+ new
@@ -40,10 +40,10 @@
else
yield
end
end
- # Conditionally catches the json depending in the condition given as first parameter. Has the same
+ # Conditionally caches the json depending in the condition given as first parameter. Has the same
# signature as the `cache` helper method in `ActionView::Helpers::CacheHelper` and so can be used in
# the same way.
#
# Example:
#