OSDN Git Service

list browser created
[pettanr/pettanr.git] / app / models / panel.rb
index f60b801..888d7b5 100644 (file)
@@ -1,5 +1,6 @@
 class Panel < ActiveRecord::Base
   belongs_to :comic
+  belongs_to :author
   has_many :panel_pictures, :dependent => :destroy
   has_many :balloons, :dependent => :destroy
   accepts_nested_attributes_for :panel_pictures, :allow_destroy => true