banners are show now !
This commit is contained in:
@@ -3,7 +3,6 @@ class LinkBanner < ActiveRecord::Base
|
||||
belongs_to :category
|
||||
belongs_to :section
|
||||
belongs_to :sub_category
|
||||
has_many :items
|
||||
|
||||
validates_presence_of :beginning, :ending, :image_url
|
||||
validate :validate_beginning_before_ending
|
||||
|
||||
Reference in New Issue
Block a user