]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2296 Revert modification because the server hosting sonar should be updated...
authorJulien Lancelot <julien.lancelot@gmail.com>
Wed, 23 Jan 2013 15:14:12 +0000 (16:14 +0100)
committerJulien Lancelot <julien.lancelot@gmail.com>
Wed, 23 Jan 2013 15:14:24 +0000 (16:14 +0100)
sonar-server/src/main/webapp/WEB-INF/app/controllers/application_controller.rb
sonar-server/src/main/webapp/WEB-INF/config/routes.rb

index 2f765f95f1ba1e24e593b9c769adc7a3f94ace86..58bc66a29e57a432e9824f396c1714c39765c5c9 100644 (file)
@@ -213,9 +213,4 @@ class ApplicationController < ActionController::Base
     message("property.category.#{category}", :default => category)
   end
 
-  # Force url_to to use relative path
-  def default_url_options(options)
-    {:only_path => true}
-  end
-
 end
index 642c8d9e340ff25e36a6a9a30e834bbc276146ab..6cfed6caea7468bff0b3a8d6c0326ba74f98dfa4 100644 (file)
@@ -30,7 +30,7 @@ ActionController::Routing::Routes.draw do |map|
   map.resources 'properties', :path_prefix => 'api', :controller => 'api/properties', :requirements => { :id => /.*/ }
 
   # home page
-  map.home '', :controller => :dashboard, :action => :index, :only_path => true
+  map.home '', :controller => :dashboard, :action => :index
   map.root :controller => :dashboard, :action => :index
 
   # page plugins