models: factor out concerns to app/logical/concerns.

This commit is contained in:
evazion
2020-02-19 15:50:42 -06:00
parent f54470ddfb
commit bd6d896ee0
10 changed files with 332 additions and 345 deletions

View File

@@ -1,6 +1,4 @@
class ForumPost < ApplicationRecord
include Mentionable
attr_readonly :topic_id
belongs_to :creator, class_name: "User"
belongs_to_updater