fix MR comments

This commit is contained in:
Bilal
2020-08-26 14:35:56 +03:00
parent 73b48c5a5b
commit 70a0c77054
6 changed files with 10 additions and 7 deletions

View File

@@ -18,4 +18,8 @@ class BroadcastRecording < ApplicationRecord
def download_file_name
"#{broadcast_name}_Date_#{created_at.in_time_zone(broadcast.shoot_location_time_zone).strftime("%Y-%m-%d")}_Time_#{created_at.in_time_zone(broadcast.shoot_location_time_zone).strftime("%T")}".parameterize
end
def toggle_star
toggle! :starred
end
end