Skip to content

Commit

Permalink
[api] removed legacy route prepare_search
Browse files Browse the repository at this point in the history
  • Loading branch information
ancorgs authored and coolo committed Oct 18, 2013
1 parent eed9c35 commit 91c9e09
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions src/api/app/controllers/test_controller.rb
Expand Up @@ -30,12 +30,6 @@ def startme
render_ok
end

def prepare_search
# Sphinx indexing
OBSApi::TestSphinx.ensure
render_ok
end

def test_start
Rails.cache.clear
render_ok
Expand Down
1 change: 0 additions & 1 deletion src/api/config/routes.rb
Expand Up @@ -54,7 +54,6 @@
post 'test/killme' => :killme
post 'test/startme' => :startme
post 'test/test_start' => :test_start
post 'test/prepare_search' => :prepare_search
end

### /attribute is before source as it needs more specific routes for projects
Expand Down
5 changes: 0 additions & 5 deletions src/api/webui/app/models/webui/api_details.rb
Expand Up @@ -7,11 +7,6 @@ def self.logger
Rails.logger
end

def self.prepare_search
transport = ActiveXML::api
transport.http_do 'post', "/test/prepare_search"
end

def self.read(route_name, *args)
http_do :get, route_name, *args
end
Expand Down

0 comments on commit 91c9e09

Please sign in to comment.