Commit fd3ae2f5 authored by Jiri Strojil's avatar Jiri Strojil
Browse files

Added test flash

parent b7dc0535
......@@ -5,7 +5,8 @@ class SemesterProcessVolunteersController < ApplicationController
include SemesterProcessVolunteerHelper
def review_semester; end
def review_semester
end
def submit_review
# you shall not pass
......@@ -32,6 +33,7 @@ class SemesterProcessVolunteersController < ApplicationController
rescue ActiveRecord::RecordInvalid => exception
logger.error exception.message
null_reviewed
flash[:alert] = exception.message
render :review_semester
end
......
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