You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/tasks/one_off.rake
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@ namespace :one_off do
7
7
trees=GreenService.total_trees_saved_by(user)
8
8
9
9
iftrees >= 1
10
-
user=User.first
11
10
user.notifications.create!(
12
11
message_html: "<div>You've saved #{trees.round} tree#{'s'iftrees.round > 1} by going digital!</div><div class='blue-text text-darken-3'>That's AWESOME! Click here to see how.</div>",
0 commit comments