When having config.load_defaults 6.0 in config/application.rb
moduleMyAppclassApplication < Rails::Application# Initialize configuration defaults for originally generated Rails version.config.load_defaults6.0
...
endend
The following exception is raised:
ArgumentError (Before process_action callback :authenticate_user has not been defined):
app/controllers/v1/register_user_token_controller.rb:5:in `<class:RegisterUserTokenController>'
Modifying config/application.rb with below fixes it.
moduleMyAppclassApplication < Rails::Application# Initialize configuration defaults for originally generated Rails version.config.load_defaults5.2
...
endend
The text was updated successfully, but these errors were encountered:
When having
config.load_defaults 6.0
inconfig/application.rb
The following exception is raised:
Modifying
config/application.rb
with below fixes it.The text was updated successfully, but these errors were encountered: