fix conflicts
This commit is contained in:
parent
e2fb434dc7
commit
71dfb3b7e4
34 changed files with 160 additions and 211 deletions
|
|
@ -1,6 +1,6 @@
|
|||
class Campaign < ActiveRecord::Base
|
||||
attr_accessible :name, :target_ids, :conference_id,
|
||||
:utm_source, :utm_medium, :utm_term, :utm_content, :utm_campaign
|
||||
attr_accessible :name, :utm_source, :utm_medium, :utm_term,
|
||||
:utm_content, :utm_campaign, :target_ids, :conference_id
|
||||
|
||||
validates :name, :utm_campaign, presence: true
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ class EventAttachment < ActiveRecord::Base
|
|||
|
||||
has_attached_file :attachment, path: ":rails_root/storage/:rails_env/attachments/:id/:style/:basename.:extension"
|
||||
include Rails.application.routes.url_helpers
|
||||
do_not_validate_attachment_file_type :attachment
|
||||
|
||||
def to_jq_upload
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue