Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

does this fix it?

  • Loading branch information...
commit 870759e110c2b12b84441967bd17cac084192f3d 1 parent cef2c4b
@schacon schacon authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  app.rb
  2. +2 −2 views/index.erb
View
2  app.rb
@@ -32,7 +32,7 @@ class TerminalApp < Sinatra::Base
end
end
- get '/auth' do
+ get '/authenticate' do
authenticate!
redirect '/term'
end
View
4 views/index.erb
@@ -15,7 +15,7 @@
<div>
<a class="logo" href="/"><img src="/images/logo.png" /></a>
<ul class="nav">
- <li><a href="/auth">Login on GitHub</a></li>
+ <li><a href="/authenticate">Login on GitHub</a></li>
</ul>
</div>
</div><!-- #header -->
@@ -53,7 +53,7 @@
repositories.
</p>
- <p>To try it, click on '<a href="/auth">Login On GitHub</a>' at the top of the page.</p>
+ <p>To try it, click on '<a href="/authenticate">Login On GitHub</a>' at the top of the page.</p>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.