File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 119119 # Uncomment if you wish to allow Action Cable access from any origin.
120120 # config.action_cable.disable_request_forgery_protection = true
121121
122- # Raise error when a before_action's only/except options reference missing actions.
123- config . action_controller . raise_on_missing_callback_actions = true
122+ # Don't raise error when a before_action's only/except options reference missing actions.
123+ # (for example, UserSessionsController has no #index, but that's an error with this enabled)
124+ config . action_controller . raise_on_missing_callback_actions = false
124125
125126 # Apply autocorrection by RuboCop to files generated by `bin/rails generate`.
126127 # config.generators.apply_rubocop_autocorrect_after_generate!
Original file line number Diff line number Diff line change 7474 # Annotate rendered view with file names.
7575 # config.action_view.annotate_rendered_view_with_filenames = true
7676
77- # Raise error when a before_action's only/except options reference missing actions.
78- config . action_controller . raise_on_missing_callback_actions = true
77+ # Don't raise error when a before_action's only/except options reference missing actions.
78+ # (for example, UserSessionsController has no #index, but that's an error with this enabled)
79+ config . action_controller . raise_on_missing_callback_actions = false
7980end
You can’t perform that action at this time.
0 commit comments