eliminate usage of localstorage to cache tag autocomplete results (fixes #3543)
This commit is contained in:
@@ -44,6 +44,7 @@ class ArtistsController < ApplicationController
|
||||
end
|
||||
format.json do
|
||||
render :json => @artists.to_json(:include => [:urls])
|
||||
expires_in 7.days
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -108,6 +109,7 @@ class ArtistsController < ApplicationController
|
||||
end
|
||||
format.json do
|
||||
render :json => @artists.to_json(:include => [:sorted_urls])
|
||||
expires_in 7.days
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user