0
我写的应用程序控制器类缺少模板应用/ refreshonline ERROR
ApplicationController < ActionController::Base
protect_from_forgery
def refreshonline
end
end
的方法,并把视图应用/视图/布局/ refreshonline.html.erb这个文件只包含简单的HTML
但是当我运行这种方法,给我错误Missing template application/refreshonline with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}. Searched in: * "D:/bitnami/test/projects/online/app/views"
,所以我puting我的HTML文件中正确的位置还是需要把别的地方?