New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support render methods with blocks #711

Closed
rriemann opened this Issue Oct 28, 2011 · 4 comments

Comments

Projects
None yet
4 participants
@rriemann

rriemann commented Oct 28, 2011

I would like to raise the question again, if it's possibe to integrate the nanoc/rails-way on working with nested layouts.

Last notice on this topic is from 2010: http://groups.google.com/group/padrino/browse_thread/thread/fc01ab545c70bc37

video-blog-post.haml :

- render 'blog-post' do
  %h2 video blog post
  = yield

Kind regards,
saLOUt

@ghost ghost assigned nesquena Oct 31, 2011

@DAddYE

This comment has been minimized.

Show comment
Hide comment
@DAddYE

DAddYE Oct 31, 2011

Member

@nesquena what do you think?

Member

DAddYE commented Oct 31, 2011

@nesquena what do you think?

@nesquena

This comment has been minimized.

Show comment
Hide comment
@nesquena

nesquena Oct 31, 2011

Member

In that google groups thread, we came up with a way to replicate a portion of that functionality with a three line helper method. Patches welcome for this.

Member

nesquena commented Oct 31, 2011

In that google groups thread, we came up with a way to replicate a portion of that functionality with a three line helper method. Patches welcome for this.

@ghost ghost assigned ujifgc Jul 8, 2013

@ujifgc ujifgc closed this in 4fa8e6e Nov 27, 2013

@ujifgc

This comment has been minimized.

Show comment
Hide comment
@ujifgc

ujifgc Nov 27, 2013

Member

It now works after render methods cleanup. Added tests.

Member

ujifgc commented Nov 27, 2013

It now works after render methods cleanup. Added tests.

@nesquena

This comment has been minimized.

Show comment
Hide comment
@nesquena

nesquena Nov 27, 2013

Member

Awesome!

Member

nesquena commented Nov 27, 2013

Awesome!

Ortuna added a commit to Ortuna/padrino-framework that referenced this issue Jan 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment