clarion/app/controllers/management/call_for_participations_controller.rb

14 lines
296 B
Ruby
Raw Normal View History

module Management
class CallForParticipationsController < ManagementController
def create
current_conference.call_for_participation.open!
2016-07-05 18:10:25 +03:00
redirect_to :back
end
def destroy
current_conference.call_for_participation.close!
2016-07-05 18:10:25 +03:00
redirect_to :back
end
end
end