use github_url in 'Edit This Page link

This commit is contained in:
Sam Handler 2015-10-12 15:02:11 -04:00
parent 8a5d558656
commit b9c43b2ee9
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<li class="active li-under"><a href="/docs/index.html">Docs</a></li> <li class="active li-under"><a href="/docs/index.html">Docs</a></li>
<li class="li-under"><a href="/community.html">Community</a></li> <li class="li-under"><a href="/community.html">Community</a></li>
<% if current_page.url != '/' %> <% if current_page.url != '/' %>
<li class="li-under"><a href="https://github.com/hashicorp/terraform/<%= github_path current_page %>">Edit this page</a></li> <li class="li-under"><a href="<%= github_url :current_page %>">Edit this page</a></li>
<% end %> <% end %>
</ul> </ul>
</div> </div>