コントローラー内のrender actionでエラー【Ruby on Rails】
Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirec
ってエラーでた。
場所はcontrollerの中のrender action :*****
【Rails】コントローラの中で途中で抜ける方法 - 東京伊勢海老通信
解決した。
render action: :**** and return
最後にこう書けば良いみたい。
うまいことコントローラー抜けれるっぽい。