【发布时间】:2012-05-19 05:04:12
【问题描述】:
我正在查看日志,这就是我所看到的
Processing by TestController#get_branches_for_repo as */*
ActionView::MissingTemplate (Missing template test/get_branches_for_repo, application/get_branches_for_repo with {:handlers=>[:erb, :builder], :formats=>[:html, :text, :js, :css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json], :locale=>[:en, :en]}. Searched in:* "/export/web/metrics-vviswanathan/app/views"):
我有意见
_get_branches_for_repo.erb
在应用程序/视图/测试/中
处理为*/*是什么意思?
哦,我的控制器功能是这样的
def get_branches_for_repo
blah
render :partial => "get_branches_for_repo"
end
请帮忙
【问题讨论】:
标签: ruby-on-rails