作者ihower (好2ˇ)
看板Ruby
标题Re: [RoR ] layout的路径
时间Sat Feb 20 17:33:31 2010
※ 引述《leeneil (Paradise)》之铭言:
: → ihower:你的 template code 可以贴一下吗? 02/20 17:20
: → ihower:layout code 02/20 17:21
: 比较头痛的问题出在这
: <link href="/stylesheets/nthuee.css" rel="stylesheet" type="text/css" />
请用 <%= stylesheet_link_tag "nthuee" %>
另外也有 javascript_include_tag 可以用
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.43.194.184
1F:推 leeneil:十分感谢!!! 请问哪边可以找到比较详尽的tag说明资源呢? 02/20 17:43
3F:推 leeneil:看到 :mouseover 感动到都快哭了 非常感谢ihower大!! 02/20 18:34