feedback form minor fix
parent
01ae9c700f
commit
3a1817d2ef
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace App\Mail;
|
||||
|
||||
use App\Models\Dictionaries\DictionaryItem;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
|
|
@ -18,8 +17,6 @@ class FeedbackSender extends Mailable implements ShouldQueue {
|
|||
}
|
||||
|
||||
public function build() {
|
||||
$dictionary = DictionaryItem::byUuid($this->data['feedback-type'])->first();
|
||||
$this->data['feedback-type'] = $dictionary->title;
|
||||
return $this->subject('Поступило обращение с сайта')->view('mail.feedback.support');
|
||||
return $this->subject('Поступило новое обращение')->view('mail.feedback.support');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue