app/controllers/lookbook/application_controller.rb in lookbook-0.9.7 vs app/controllers/lookbook/application_controller.rb in lookbook-0.9.8

- old
+ new

@@ -1,7 +1,10 @@ module Lookbook class ApplicationController < ActionController::Base - content_security_policy false, if: -> { Rails.env.development? } + if respond_to?(:content_security_policy) + content_security_policy false, if: -> { Rails.env.development? } + end + protect_from_forgery with: :exception helper Lookbook::ApplicationHelper helper Lookbook::OutputHelper helper Lookbook::ComponentHelper