Error corrected

This commit is contained in:
Ana
2016-01-06 14:57:04 +01:00
committed by rgarcia
parent 7d3dff3222
commit 0993a6ec1a

View File

@@ -13,7 +13,7 @@ module CommentableActions
if @params_date if @params_date
case @params_date case @params_date
when '1' when '1'
min_date_time = DateTime.now -24.hour min_date_time = DateTime.now - 24.hour
when '2' when '2'
min_date_time = DateTime.now - 7.day min_date_time = DateTime.now - 7.day
when '3' when '3'