1

I've added Foundation to my Rails site, but now the tab in my browser is displaying

Foundation - Rails

How would I change that to my site's title ?

strivedi183
  • 4,749
  • 2
  • 31
  • 38
maudulus
  • 10,627
  • 10
  • 78
  • 117
  • `app/views/layout/application.html.{erb|haml}`, search do the `` tag which is in the `` tag – MrYoshiji Apr 04 '14 at 15:59
  • There's a helpful tutorial from the RailsApps project on [Foundation and Rails](http://railsapps.github.io/rails-foundation.html) which provides details. You can use the [Rails Layout](https://github.com/RailsApps/rails_layout) gem to set up Foundation correctly. – Daniel Kehoe Apr 04 '14 at 16:02

1 Answers1

2

It's in your application layout if you ran rails g foundation:install and overwrote the layout

j-dexx
  • 10,286
  • 3
  • 23
  • 36
  • Perfect - thanks. It was in `<%= content_for?(:title) ? yield(:title) : "foundation-rails" %>` I simply changed the "foundation-rails" to my site's title. – maudulus Apr 04 '14 at 15:58
  • A post about content_for: http://stackoverflow.com/questions/16822775/difference-between-render-and-render-partial-and-yield/16822915#16822915 – MrYoshiji Apr 04 '14 at 16:00