Codebase list ruby-omniauth-twitter / 35275ba
simplify if block Rashmi Yadav 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5050 end
5151 end
5252
53 if (options[:use_authorize] && options[:use_authorize] != false) || request.params['use_authorize'] == 'true'
53 if options[:use_authorize] || request.params['use_authorize'] == 'true'
5454 options[:client_options][:authorize_path] = '/oauth/authorize'
5555 else
5656 options[:client_options][:authorize_path] = '/oauth/authenticate'