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

How can I render public activity in cells? #31

Open
seniordev555 opened this issue May 16, 2017 · 1 comment
Open

How can I render public activity in cells? #31

seniordev555 opened this issue May 16, 2017 · 1 comment

Comments

@seniordev555
Copy link

I'd like to use render_activity method in cells views.
But the problem is that the views of public activity are defined under app/views/public_activity folder.
It is not available to re-use public activity views in app/concepts.
Please help me to solve this issue.
Thanks.

@apotonick
Copy link
Member

Maybe this helps? http://trailblazer.to/gems/cells/rails.html#global-partials It's not a recommended way of doing "global" views, though. You should encapsulate any global view in a cell.

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

2 participants