Commit 029b56c2 authored by Jiri Strojil's avatar Jiri Strojil
Browse files

You wont be able to submit changes after commiting

parent e4793dc8
Pipeline #30769 failed with stage
in 54 minutes and 1 second
......@@ -8,6 +8,9 @@ class SemesterProcessVolunteersController < ApplicationController
def review_semester; end
def submit_review
# you shall not pass
return if @semester_process_volunteer.commited_at
@semester_process_volunteer.volunteer.validate_waive_and_bank = true
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