Skip to content

Commit

Permalink
fix error undefined method flash='` when letter_opener_web clear
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatov08 committed Oct 28, 2021
1 parent 648f953 commit bbfb9a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ class Application < Rails::Application
# Middleware like session, flash, cookies can be added back manually.
# Skip views, helpers and assets when generating a new resource.
config.api_only = true
config.middleware.use ActionDispatch::Flash
end
end

0 comments on commit bbfb9a5

Please sign in to comment.