How can I render public activity in cells?
seniordev555 opened this issue · 1 comments
seniordev555 commented
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 commented
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.