aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/webapp
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-11-08 16:41:37 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-11-09 16:32:17 +0100
commit1c1676ebd8ca1815e813f92ca042bbf1849d8cb0 (patch)
treea27cd574a55c36958d1793e1cf5e298580dfd4d2 /server/sonar-web/src/main/webapp
parentb929bdc91ede52f35e1b8845225fd4afbb48fd4c (diff)
downloadsonarqube-1c1676ebd8ca1815e813f92ca042bbf1849d8cb0.tar.gz
sonarqube-1c1676ebd8ca1815e813f92ca042bbf1849d8cb0.zip
redirect from /issues/search to /issues
Diffstat (limited to 'server/sonar-web/src/main/webapp')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/controllers/issues_controller.rb4
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/issues/index.html.erb (renamed from server/sonar-web/src/main/webapp/WEB-INF/app/views/issues/search.html.erb)0
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/issues_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/issues_controller.rb
index 8303cd1c33c..8385def1ca3 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/issues_controller.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/issues_controller.rb
@@ -25,12 +25,12 @@ class IssuesController < ApplicationController
# GET /issues/index
def index
- redirect_to :action => 'search'
+
end
# GET /issues/search
def search
-
+ redirect_to :action => 'index'
end
def show
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/issues/search.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/issues/index.html.erb
index b1baf27f96c..b1baf27f96c 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/issues/search.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/issues/index.html.erb