Remove has_many :views from User (#4150)

This commit is contained in:
James Kiesel 2016-04-08 10:37:10 +12:00 committed by Régis Hanol
parent 4f3f6c60c4
commit 609969bf6f

View file

@ -29,7 +29,6 @@ class User < ActiveRecord::Base
has_many :topic_allowed_users, dependent: :destroy
has_many :topics_allowed, through: :topic_allowed_users, source: :topic
has_many :email_tokens, dependent: :destroy
has_many :views
has_many :user_visits, dependent: :destroy
has_many :invites, dependent: :destroy
has_many :topic_links, dependent: :destroy