Commit 7370a285c5196ee14082c786486fa9e721436be0
1 parent
3331bbc7
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Implemented the administrator task notification option - removed debug
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
app/models/task.rb
| @@ -57,7 +57,6 @@ class Task < ActiveRecord::Base | @@ -57,7 +57,6 @@ class Task < ActiveRecord::Base | ||
| 57 | end | 57 | end |
| 58 | 58 | ||
| 59 | after_create do |task| | 59 | after_create do |task| |
| 60 | - binding.pry | ||
| 61 | unless task.status == Task::Status::HIDDEN | 60 | unless task.status == Task::Status::HIDDEN |
| 62 | begin | 61 | begin |
| 63 | task.send(:send_notification, :created) | 62 | task.send(:send_notification, :created) |