Fix ad image date selector
This commit is contained in:
1 parent
c57ba305e9
commit
e7bb9ea86b
4 files changed
+8
-6
No files matched your search
@@ -19,6 +19,8 @@ class Admin::AdImagesController < ApplicationController
|
||||
|
||||
def new
|
||||
@ad_image =AdImage.new
|
||||
@ad_image.post_date = Date.today
|
||||
@ad_image.unpost_date = Date.today + 30
|
||||
#render :action => 'new',:url=> {:ad_banner_id => params.has_key?(:ad_banner_id)? params[:ad_banner_id],nil}
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user