Skip to content

Commit

Permalink
Escape namespaces in some doc headers [ci-skip]
Browse files Browse the repository at this point in the history
Also move the CSP header from a method to the module.
  • Loading branch information
p8 committed Apr 24, 2023
1 parent 719558c commit f895882
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion actionpack/lib/abstract_controller/callbacks.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true

module AbstractController
# = Abstract Controller Callbacks
# = Abstract Controller \Callbacks
#
# Abstract Controller provides hooks during the life cycle of a controller action.
# Callbacks allow you to trigger logic during this cycle. Available callbacks are:
Expand Down
3 changes: 1 addition & 2 deletions actionview/lib/action_view/helpers/csp_helper.rb
Expand Up @@ -2,9 +2,8 @@

module ActionView
module Helpers # :nodoc:
# = Action View CSP \Helpers
module CspHelper
# = Action View CSP \Helpers
#
# Returns a meta tag "csp-nonce" with the per-session nonce value
# for allowing inline <script> tags.
#
Expand Down
2 changes: 1 addition & 1 deletion actionview/lib/action_view/helpers/date_helper.rb
Expand Up @@ -10,7 +10,7 @@

module ActionView
module Helpers # :nodoc:
# = Action View Date \Helpers
# = Action View \Date \Helpers
#
# The Date Helper primarily creates select/option tags for different kinds of dates and times or date and time
# elements. All of the select-type methods share a number of common options that are as follows:
Expand Down
2 changes: 1 addition & 1 deletion actionview/lib/action_view/helpers/rendering_helper.rb
Expand Up @@ -2,7 +2,7 @@

module ActionView
module Helpers # :nodoc:
# = Action View Rendering \Helpers
# = Action View \Rendering \Helpers
#
# Implements methods that allow rendering from a view context.
# In order to use this module, all you need is to implement
Expand Down

0 comments on commit f895882

Please sign in to comment.