diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-11-26 16:48:01 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-11-26 18:03:43 +0300 |
commit | 7f214cee74796ceaf7b01bd6e133d4d54c5123db (patch) | |
tree | cefc7a17adadbee1a9d349f4f5843d63290482a7 /lib/gitlab | |
parent | 3e0fe27627f5b074a35ce2e1a0794f869f8abc15 (diff) |
Migrate mailers to ActiveJob
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/markdown/label_reference_filter.rb | 3 | ||||
-rw-r--r-- | lib/gitlab/seeder.rb | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/gitlab/markdown/label_reference_filter.rb b/lib/gitlab/markdown/label_reference_filter.rb index 618acb7a578..13581b8fb13 100644 --- a/lib/gitlab/markdown/label_reference_filter.rb +++ b/lib/gitlab/markdown/label_reference_filter.rb @@ -60,8 +60,7 @@ module Gitlab def url_for_label(project, label) h = Gitlab::Application.routes.url_helpers h.namespace_project_issues_path(project.namespace, project, - label_name: label.name, - only_path: context[:only_path]) + label_name: label.name) end def render_colored_label(label) diff --git a/lib/gitlab/seeder.rb b/lib/gitlab/seeder.rb index 31aa3528c4c..2ef0e982256 100644 --- a/lib/gitlab/seeder.rb +++ b/lib/gitlab/seeder.rb @@ -14,7 +14,7 @@ module Gitlab def self.mute_mailer code = <<-eos -def Notify.delay +def Notify.deliver_later self end eos |