Allow a user to rate the service each month
This commit is contained in:
parent
5e6aa7c2af
commit
98f70cc815
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue