redirect_back(fallback_location: root_path)
controllerでもviewでも使える。便利!!!
More than 5 years have passed since last update.
redirect_back(fallback_location: root_path)
controllerでもviewでも使える。便利!!!
Register as a new user and use Qiita more conveniently