Sha256: 5c4871c7debc707260313ab8a15fd13f8a1d8c795a2f76fcf3016e4ec4f87f82
Contents?: true
Size: 395 Bytes
Versions: 31
Compression:
Stored size: 395 Bytes
Contents
class Backend::EmailsController < Backend::BaseController include Concerns::PaginationController before_action -> { breadcrumb.add t('b.emails'), backend_emails_path } def index @emails = paginate Email.order('id DESC') end def show @email = Email.find params[:id] end def html_content @email = Email.find params[:id] render text: @email.html_content end end
Version data entries
31 entries across 31 versions & 1 rubygems