Skip to content
Snippets Groups Projects
Commit 39702fa5 authored by bfs15's avatar bfs15
Browse files

fix

parent ff6cc288
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class V1::SearchController < ApplicationController
# GET v1/search/tag
# GET v1/search/tag.json
def tag
results = TagSearchService.search(Tag.find(tag_search_params[:id]), 2)
results = TagSearchService.search(Tag.find(tag_search_params[:id]))
render json: paginate(results)
end
......
......@@ -23,7 +23,7 @@ namespace :tag do
task :generate_clusters => [:environment] do
include TagSearchService
# DEBUG = true
graph_path = TagSearchService.file_path+".net"
# Create hash of tag co occurrence
hash = create_hash()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment