Skip to content

Commit cc7f0b0

Browse files
Add period to end of comment sentences in env templates for consistency (rails#51677)
Add periods to comments in development.rb.tt and test.rb.tt for consistency. [ci skip] Co-authored-by: Carlos Antonio da Silva <[email protected]>
1 parent 2587966 commit cc7f0b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Rails.application.configure do
1414
# Show full error reports.
1515
config.consider_all_requests_local = true
1616

17-
# Enable server timing
17+
# Enable server timing.
1818
config.server_timing = true
1919

2020
# Enable/disable caching. By default caching is disabled.
@@ -85,7 +85,7 @@ Rails.application.configure do
8585
# config.action_cable.disable_request_forgery_protection = true
8686

8787
<%- end -%>
88-
# Raise error when a before_action's only/except options reference missing actions
88+
# Raise error when a before_action's only/except options reference missing actions.
8989
config.action_controller.raise_on_missing_callback_actions = true
9090
<%- unless skip_rubocop? -%>
9191

railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ Rails.application.configure do
6464
# Annotate rendered view with file names.
6565
# config.action_view.annotate_rendered_view_with_filenames = true
6666

67-
# Raise error when a before_action's only/except options reference missing actions
67+
# Raise error when a before_action's only/except options reference missing actions.
6868
config.action_controller.raise_on_missing_callback_actions = true
6969
end

0 commit comments

Comments
 (0)