diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-08-28 11:54:30 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-08-28 14:06:44 +0200 |
commit | d6a0ac843d379512fff46f283289f3f343d3db52 (patch) | |
tree | 8cc0b41c427966337e23d53141a22de5edced244 /server/sonar-web/src/main | |
parent | 8e85628a3c5f2508c4447d2412a2fb6aa66c8378 (diff) | |
download | sonarqube-d6a0ac843d379512fff46f283289f3f343d3db52.tar.gz sonarqube-d6a0ac843d379512fff46f283289f3f343d3db52.zip |
Remove tab option from link_to_resource as it's not managed
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb index 72977009397..41c825e07aa 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb @@ -318,7 +318,6 @@ module ApplicationHelper query = request.query_parameters query[:id] = resource.id query[:period] = period_index if period_index - query[:tab] = options[:tab] if options[:tab] query[:rule] = options[:rule] if options[:rule] query.each do |key, value| path += '&' unless path.empty? @@ -332,7 +331,6 @@ module ApplicationHelper query = request.query_parameters query[:id] = resource.id query[:period] = period_index if period_index - query[:tab] = options[:tab] if options[:tab] query[:rule] = options[:rule] if options[:rule] query.each do |key, value| path += '&' unless path.empty? @@ -343,7 +341,6 @@ module ApplicationHelper else url = "#{ApplicationController.root_context}/dashboard/index?id=#{u resource.key}" url += "&period=#{u period_index}" if period_index - url += "&tab=#{u options[:tab]}" if options[:tab] url += "&rule=#{u options[:rule]}" if options[:rule] url += "&metric=#{u options[:metric]}" if options[:metric] url += '#L' + options[:line].to_s if options[:line] |