Ask A Question

Notifications

You’re not receiving notifications from this thread.

application.html.erb Help

Rob Thomas asked in General

Hello,

I'm a Rails newbie and I'm following a few tuts but I'm having trouble finding the application.html.erb file? I'm using Rails 5.2.2 and Ruby 2.6.0.

Thank
Rob

Reply

That should be in app/views/layouts/application.html.erb

Reply

Hey Chris, for some reason it's not showing.

Reply

Strange, maybe it got deleted somehow?

If you generate a new Rails app, you can just copy the file from that one and put it into your existing one.

Reply

Got it thanks Chris, and keep up the good work.

Rob

Reply

Anytime! Keep posting if you have more questions. 🙌

Reply

Surthing!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,796+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.