1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Disable content security policy for mailer previews

This commit is contained in:
Dylan Reile 2018-07-30 22:37:34 -07:00
parent cd2fe237f7
commit e8ac7af29d

View file

@ -10,6 +10,8 @@ class Rails::MailersController < Rails::ApplicationController # :nodoc:
helper_method :part_query, :locale_query
content_security_policy(false)
def index
@previews = ActionMailer::Preview.all
@page_title = "Mailer Previews"