diff options
| author | Teddy Wing | 2014-06-08 06:27:39 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2014-06-08 06:27:39 -0400 | 
| commit | 2570476fff3ad2d43816fc5aeace567765b86f4f (patch) | |
| tree | 18593c480f59bb4baf407e2225865a132e88e8a3 | |
| parent | b84e54e053435f15f3cead2a2a48833f047bc233 (diff) | |
| download | sellevate-2570476fff3ad2d43816fc5aeace567765b86f4f.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 | 
