From d746ae254903c0b214535c753c1de236ee153104 Mon Sep 17 00:00:00 2001 From: Nbernot Date: Tue, 11 Jul 2017 13:33:47 +0200 Subject: [PATCH] Removes parentheses around if conditions --- app/models/asset.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/asset.rb b/app/models/asset.rb index 9e674f059..4ef35b06b 100644 --- a/app/models/asset.rb +++ b/app/models/asset.rb @@ -380,7 +380,7 @@ class Asset < ActiveRecord::Base action = get_action(file_ext, action) if !action.nil? action_url = action.urlsrc - if (ENV['WOPI_BUSINESS_USERS'] && ENV['WOPI_BUSINESS_USERS']=='true' ) + if ENV['WOPI_BUSINESS_USERS'] && ENV['WOPI_BUSINESS_USERS']=='true' action_url = action_url.gsub(//, 'IsLicensedUser=1&') action_url = action_url.gsub(//,