app/commands/decidim/meetings/admin/update_meeting.rb in decidim-meetings-0.26.10 vs app/commands/decidim/meetings/admin/update_meeting.rb in decidim-meetings-0.27.0.rc1
- old
+ new
@@ -3,11 +3,11 @@
module Decidim
module Meetings
module Admin
# This command is executed when the user changes a Meeting from the admin
# panel.
- class UpdateMeeting < Rectify::Command
+ class UpdateMeeting < Decidim::Command
# Initializes a UpdateMeeting Command.
#
# form - The form from which to get the data.
# meeting - The current instance of the page to be updated.
def initialize(form, meeting)
@@ -49,21 +49,17 @@
end_time: form.end_time,
start_time: form.start_time,
online_meeting_url: form.online_meeting_url,
registration_type: form.registration_type,
registration_url: form.registration_url,
- available_slots: form.available_slots,
- registrations_enabled: form.registrations_enabled,
type_of_meeting: form.clean_type_of_meeting,
address: form.address,
latitude: form.latitude,
longitude: form.longitude,
location: form.location,
location_hints: form.location_hints,
private_meeting: form.private_meeting,
transparent: form.transparent,
- customize_registration_email: form.customize_registration_email,
- registration_email_custom_content: form.registration_email_custom_content,
iframe_embed_type: form.iframe_embed_type,
comments_enabled: form.comments_enabled,
comments_start_time: form.comments_start_time,
comments_end_time: form.comments_end_time,
iframe_access_level: form.iframe_access_level