Created a new payment admin page
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Conference < ActiveRecord::Base
|
||||
translates :info, :title
|
||||
translates :info, :title, :payment_message
|
||||
|
||||
mount_uploader :cover, CoverUploader
|
||||
mount_uploader :poster, PosterUploader
|
||||
@@ -64,4 +64,8 @@ class Conference < ActiveRecord::Base
|
||||
write_attribute :registration_status, new_registration_status.to_s
|
||||
end
|
||||
|
||||
def self.default_payment_amounts
|
||||
[25, 50, 100]
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user