diff options
| author | Teddy Wing | 2014-06-08 06:27:39 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2014-06-08 06:29:03 -0400 | 
| commit | 1e1b10e6da171d2f72d910a3af043794b632ae64 (patch) | |
| tree | 9dde4f902207dd52c1dac5f93eb2de98219b3b68 | |
| parent | e5c4a44bf9a6334c7f2373f01f1020f98682550e (diff) | |
| download | sellevate-1e1b10e6da171d2f72d910a3af043794b632ae64.tar.bz2 | |
app.rb: remove slash from URL in /auth-begin
REQUEST_URI already has a trailing slash so we shouldn't be adding a
second one.
| -rw-r--r-- | app.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -21,7 +21,7 @@ class App < Sinatra::Base    get '/auth-begin' do      contextio = FancyBear::ContextIO::Auth.new -    redirect_url = contextio.connect("#{request['REQUEST_URI']}/auth-callback") +    redirect_url = contextio.connect("#{request['REQUEST_URI']}auth-callback")      redirect to(redirect_url)    end | 
