Commit f2c882c3 authored by maeda's avatar maeda
Browse files

Fix typo in error message when target version was not found (#28024).

Patch by Marius Žilėnas.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 5f2dcd04
......@@ -382,7 +382,7 @@ class Mailer < ActionMailer::Base
tracker = options[:tracker] ? Tracker.find(options[:tracker]) : nil
target_version_id = options[:version] ? Version.named(options[:version]).pluck(:id) : nil
if options[:version] && target_version_id.blank?
raise"Couldn't find Version with named #{options[:version]}")
raise"Couldn't find Version named #{options[:version]}")
user_ids = options[:users]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment