摘要: Declare a controller method as a helper. For example, helper_method :link_to def link_to(name, options) … end makes the link_to controller method avai 阅读全文
posted @ 2017-12-13 11:16 Mr-chen 阅读(231) 评论(0) 推荐(0) 编辑