Allow a user to rate the service each month

This commit is contained in:
gregoirenovel 2018-08-27 11:41:38 +02:00
parent 5e6aa7c2af
commit 98f70cc815

View file

@ -54,7 +54,7 @@
= dossier.updated_at.localtime.strftime("%d/%m/%Y")
= paginate(@dossiers)
- if current_user.feedbacks.empty?
- if current_user.feedbacks.empty? || current_user.feedbacks.last.created_at < 1.month.ago
#user-satisfaction
%h3 Que pensez-vous de ce service ?
.icons