Commit 40f273ea authored by Tugce Nur Tas's avatar Tugce Nur Tas
Browse files

remove empty lines

parent 33224840
......@@ -101,10 +101,8 @@ class AssignmentsController < ApplicationController
@assignment.volunteer.waive = assignment_params[:volunteer_attributes][:waive] == '1'
termination_submitted_by: current_user)
if && terminate_reminder_mailing
redirect_to @assignment.volunteer, notice: 'Der Einsatz ist hiermit abgeschlossen.'
redirect_back(fallback_location: terminate_assignment_path(@assignment))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment