Remove Targetable (#3548)

master
Akihiko Odaki (@fn_aki@pawoo.net) 8 years ago committed by Eugen Rochko
parent e014bf8ed0
commit 19084d3c6c
  1. 1
      app/models/account.rb
  2. 7
      app/models/concerns/targetable.rb

@ -47,7 +47,6 @@ class Account < ApplicationRecord
include AccountInteractions include AccountInteractions
include Attachmentable include Attachmentable
include Remotable include Remotable
include Targetable
# Local users # Local users
has_one :user, inverse_of: :account has_one :user, inverse_of: :account

@ -1,7 +0,0 @@
# frozen_string_literal: true
module Targetable
def object_type
:object
end
end
Loading…
Cancel
Save