提交 8cbe2fed 编写于 作者: J Jeremy Kemper

.rhtml extension for view only

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 ba74754c
......@@ -20,8 +20,8 @@ def manifest
# View template and fixture for each action.
actions.each do |action|
relative_path = File.join(class_path, file_name, "#{action}.rhtml")
view_path = File.join('app/views', relative_path)
relative_path = File.join(class_path, file_name, action)
view_path = File.join('app/views', "#{relative_path}.rhtml")
fixture_path = File.join('test/fixtures', relative_path)
m.template "view.rhtml", view_path,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册