clarion/app/controllers/management/call_for_participations_controller.rb

14 lines
394 B
Ruby
Raw Normal View History

module Management
class CallForParticipationsController < ManagementController
def create
current_conference.call_for_participation.open!
2019-04-28 02:12:54 +03:00
redirect_back fallback_location: [:management, current_conference]
end
def destroy
current_conference.call_for_participation.close!
2019-04-28 02:12:54 +03:00
redirect_back fallback_location: [:management, current_conference]
end
end
end