Skip to content

Commit

Permalink
change to members in website from users
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocksy committed Apr 11, 2016
1 parent a44ec77 commit ca04add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/website.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class Website < ActiveRecord::Base
has_many :subscribers, dependent: :destroy
has_many :grouped_issues, dependent: :destroy
has_many :website_members, -> { uniq }, autosave: true
has_many :users, through: :website_members
has_many :members, through: :website_members

validates :title, presence: true
validates :domain, presence: true
Expand Down

0 comments on commit ca04add

Please sign in to comment.