Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Brandon Williams's Profile

GitHub User: mbrandonw

Site: http://www.opetopic.com

Comments by Brandon Williams

Avatar

Can Jbuilder templates be used inside of layouts? I tried creating a layout:

ruby
json.results do |json|
  yield
end

But unfortunately I just get {"results":{}}.