diff --git a/app/models/tag.rb b/app/models/tag.rb index 972262c..c3d4cf8 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -1,2 +1,3 @@ class Tag < ActiveRecord::Base + has_and_belongs_to_many :pages, :join_table => 'tags_pages' end