Commit 09d7bbcb authored by Bruno Freitas Tissei's avatar Bruno Freitas Tissei
Browse files

Hotfix: error message on overlapping schedules by citizen

parent 82f23a38
...@@ -375,7 +375,7 @@ class CitizensController < ApplicationController ...@@ -375,7 +375,7 @@ class CitizensController < ApplicationController
end end
end end
if schedule_duplicate if schedule_duplicate
redirect_to citizens_schedules_schedule_path, alert: "O cidadão já possui #{t(:schedule)} marcado neste dia e horário!" redirect_to citizens_schedules_schedule_path, alert: "Você já possui #{t(:schedule)} marcado neste dia e horário!"
else else
respond_to do |format| respond_to do |format|
format.html format.html
Markdown is supported
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