0
<script type="text/JavaScript" src="public/js/jquery.js"></script>
拋出arror
GET http://localhost/ajax/public/js/jquery.js 404 (Not Found)
不 '公' 是一樣的。
它的工作沒有公開我在我的應用改變了這種後:
get '/' do
erb :main
end
到:
get '/sth_else' do
erb :main
end
但我想加載一個頁面只是www.page.com/沒有進一步參數。 請幫我一把。
什麼服務器您使用的? –
您是否嘗試過使用url-helper? – robustus