[英]How to link from html site to any site in view in Ruby on Rails
我的主页位于project_name / public / index.html。 我想从index.html站点链接到位于project_name / app / views / my_controller中的控制器视图
我该如何接受?
您只需要使用a ref
链接
<a ref="/my_controller">Link Text</a>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.