Updated ADBanner with fixes on index page, ADImage with fixes
Conflicts: app/views/admin/ad_banners/index.html.erb app/views/admin/ad_images/_form.html.erb vendor/built_in_modules/ad_banner/init.rb
This commit is contained in:
1 parent
a5c800d3fe
commit
a2e9aa2e0b
14 files changed
+414
-157
No files matched your search
@@ -3,6 +3,7 @@ class AdBanner
|
||||
include Mongoid::Timestamps
|
||||
include Mongoid::MultiParameterAttributes
|
||||
include OrbitCoreLib::ObjectAuthable
|
||||
include OrbitTag::Taggable
|
||||
|
||||
field :title
|
||||
field :transition_msec,type: Integer
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
class AdImage
|
||||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
include OrbitTag::Taggable
|
||||
|
||||
mount_uploader :file, ImageUploader
|
||||
|
||||
|
||||
Reference in new issue
Block a user