Skip to content

Commit fbb4dc2

Browse files
authored
check for existence of ActiveSupport
1 parent 129720e commit fbb4dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/secure_headers/view_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ def nonced_tag(type, content_or_options, block)
110110

111111
ActiveSupport.on_load :action_view do
112112
include SecureHeaders::ViewHelpers
113-
end
113+
end if defined?(ActiveSupport)

0 commit comments

Comments
 (0)