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:
parent
cd2fe237f7
commit
e8ac7af29d
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue