* Add page_view model * Uncomment DJ routes * Add time on site max and don't update article page views every time
4 lines
96 B
Ruby
4 lines
96 B
Ruby
class PageView < ApplicationRecord
|
|
belongs_to :user, optional: true
|
|
belongs_to :article
|
|
end
|