All threads / application.html.erb Help

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

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

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

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.

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

Rob

Anytime! Keep posting if you have more questions. 🙌

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.