I created a ruby application and the application.html.erb is never loaded (looking at webrick output, I never get "Rendered CLASS/index.html.erb within layouts/application", but "Rendered CLASS/index.html.erb")
CLASS.html.erb never gets loaded either.
Only when explicitly specifying "render :file => 'layouts/application'" in the controller, application.html.erb is loaded.
Can anyone help?
Thanks a lot in advance
Sebastien
Ensure that you're controller is inheriting from the ApplicationController.
class YourController < ApplicationController
...
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With