method

to_missing_attachable_partial_path

rails latest stable - Class: ActionText::Attachable
to_missing_attachable_partial_path()
public

Returns the path to the partial that is used for rendering missing attachables. Defaults to “action_text/attachables/missing_attachable”.

Override to render a different partial:

class User < ApplicationRecord
  def self.to_missing_attachable_partial_path
    "users/missing_attachable"
  end
end