If I directly access /posts/create by typing URL (GET), the program
redirects to the "list" action, but the flash message I added is not
shown in the redirected page.
If I directly access /posts/create by typing URL (GET), the program
redirects to the "list" action, but the flash message I added is not
shown in the redirected page.
Any help would be appreciated.
Do you usually get flash messages from other sources? (i.e. do you have <%= flash[:notice] %> somewhere in your layout?)