Sign in through GitHub

RailsCasts Pro episodes are now free!

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":{}}.