issues_controller_bulk_update_after_save_hook.patch

Tobias Böhm, 2017-03-23 13:55

Download (650 Bytes)

View differences:

app/controllers/issues_controller.rb 2017-03-23 13:49:52.909691437 +0100
323 323
      call_hook(:controller_issues_bulk_edit_before_save, { :params => params, :issue => issue })
324 324
      if issue.save
325 325
        saved_issues << issue
326
        call_hook(:controller_issues_bulk_edit_after_save, { :params => params, :issue => issue, :journal => journal })
326 327
      else
327 328
        unsaved_issues << orig_issue
328 329
      end