Skip to content
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

added dynamic_snippets #13

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

akennedy
Copy link
Contributor

There is already a pull request for this issue from @rochgs, but I just thought you may be interested in how I did it. Also updated content_of method to allow body_content_left and body_content_right.

use content_of(@page, :part, yield(:part)) when you need it to work with other engines such as blog

@rochgs
Copy link

rochgs commented Feb 16, 2012

@akennedy proposal is very similar to mine right now. My pull request is seriously obsolete. In a first modification I also moved the rendering method to the PagesHelper but, finally, I moved it to the ApplicationHelper so it could be easily accessed from everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants