Hiccdown Development Notes
Showing only #313 and its comments.
See full discussionLog in or sign up to participate in this discussion.
With an account, you can revise, criticize, and comment on ideas.Discussions can branch out indefinitely. You may need to scroll sideways.
Dennis HackethalOP·#317··Criticism
Then how would you call index from a helper method?
Criticized1Archived
Dennis HackethalOP·#315··Criticism
I don’t think that’s something people would do a lot, but they still easily could: ProductsRenderer.index(self)
Archived
Dennis HackethalOP·#323··Criticism
Tested, it works. self does indeed point to the view_context in the helper. Verified by printing object_ids.
Archived
Dennis HackethalOP·#341··Criticism
It doesn’t really matter. This would be like calling a controller action from a helper method. Not something people do.
Archived