<% @page_title = "Git - Blog Moved" %>

<div id="main">
  <h1>Moved!</h1>

  <p>Technical content that was previously found in the blog section of this site has been integrated into the <a href="/book">second edition of the Pro Git book</a>.

</div>

<% @page_title = "Git - Blog Moved" %>

<div id="main">
  <h1>Moved!</h1>

  <p>Technical content that was previously found in the blog section of this site has been integrated into the <%= link_to('second edition of the Pro Git book', controller: 'books', action: 'show') %>.

</div>

Change direct url to use rails reverse routing
Change direct url to use rails reverse routing