demarches-normaliennes/app/controllers/manager/procedures_controller.rb
2018-01-10 18:17:05 +01:00

9 lines
238 B
Ruby

module Manager
class ProceduresController < Manager::ApplicationController
def whitelist
procedure = Procedure.find(params[:id])
procedure.whitelist!
redirect_to manager_procedure_path(procedure)
end
end
end