class CommentMailer < ApplicationMailer def new_comment_email @comment = params[:comment] @admin = User.first # this is weird mail(to: @admin.email, subject: "[Four Island] Comment on #{@comment.blog.title}") end end