Ruby on rails ActionView::尽管重定向和不渲染,但仍丢失模板
我在Heroku上运行Ruby on Rails应用程序时遇到问题。activities controller的方法set_default_activities结束于Ruby on rails ActionView::尽管重定向和不渲染,但仍丢失模板,ruby-on-rails,heroku,Ruby On Rails,Heroku,我在Heroku上运行Ruby on Rails应用程序时遇到问题。activities controller的方法set_default_activities结束于 将\重定向到根\路径在活动控制器中,将重定向行修改为: redirect_to root_path and return 很难说没有看到整个方法-也许你重定向的那条线永远不会到达。
将\重定向到根\路径在活动控制器中,将重定向行修改为:
redirect_to root_path and return
很难说没有看到整个方法-也许你重定向的那条线永远不会到达。