Fix for jbuilder module.

Hi! Command json.partial! didn't work with 'namespace/controller/action' (it worked only with full path), so I rebuilt two methods.