method
to_attachable_partial_path
v7.1.3.2 -
Show latest stable
- Class:
ActionText::Attachable
to_attachable_partial_path()public
Returns the path to the partial that is used for rendering the attachable. Defaults to to_partial_path.
Override to render a different partial:
class User < ApplicationRecord def to_attachable_partial_path "users/attachable" end end