Skip to content

Commit 1c6f060

Browse files
author
Tom Copeland
committed
Fixed forum_group => forums association
1 parent ec519e1 commit 1c6f060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/models/forum_group.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ForumGroup < ActiveRecord::Base
1818
set_primary_key "group_forum_id"
1919

2020
belongs_to :group
21-
has_one :forum, :foreign_key => "group_forum_id"
21+
has_many :forums, :foreign_key => "group_forum_id"
2222

2323
end
2424

0 commit comments

Comments
 (0)