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

Sharing partial with the "main" app? #55

Open
drkhdr opened this issue Aug 20, 2010 · 0 comments
Open

Sharing partial with the "main" app? #55

drkhdr opened this issue Aug 20, 2010 · 0 comments

Comments

@drkhdr
Copy link

drkhdr commented Aug 20, 2010

I've "Integrated Toto and a Rails app in 10 steps" sucessfully, and I manage to use shared assets (js, css and the like).
BUT I struggle to use partials from my main app within the Toto layout template (render partial fails with an argument error, "1 for 2").
Is there a good / recommended way to share layout and partials between the main Rails app and an integrated Toto blog?
My objective is to not replicate the template code of the main application for using it in the Toto blog.

Thanks!

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

No branches or pull requests

1 participant