Sha256: f2682f340b711447e4046f68cafb47a36af2ef946457af68054cd6f05af47998
Contents?: true
Size: 393 Bytes
Versions: 9
Compression:
Stored size: 393 Bytes
Contents
class MailEngine::MailLogsController < MailEngine::ApplicationController before_filter :find_model def index @mail_logs = MailLog.order("created_at desc").page(params[:page]).per(20) end def show end def destroy @mail_log.destroy redirect_to mail_logs_path end private def find_model @mail_log = MailLog.find(params[:id]) if params[:id].present? end end
Version data entries
9 entries across 9 versions & 1 rubygems