Started GET "/home/index" for 127.0.0.1 at 2011-11-14 11:27:00 +0100
Processing by HomeController#index as */*
Rendered home/index.rb within layouts/application (0.8ms)Completed 500 Internal Server Error in 4ms
ActionView::Template::Error (No such file or directory - ./home/index.mustache):
app/views/home/index.rb:22:in `_app_views_home_index_rb___2011066484058913103_26216040'
yet, app/views/templates/home/index.html.mustache exists. When I rename it to index.mustache, I get:
No such file or directory - /home/uri/Labs/mongoid3/app/templates/home/index.html.mustache
So it seems to be looking at the right file, as it notices when i change from html.mustache to mustache, but still won't load.
app/views/home/index.rb
class Home::Index < Mustache::Rails
def content
'Hello World!'
end
end
yet, app/views/templates/home/index.html.mustache exists. When I rename it to index.mustache, I get:
So it seems to be looking at the right file, as it notices when i change from html.mustache to mustache, but still won't load.
app/views/home/index.rb
app/templates/home/index.html.mustache