eliminate usage of localstorage to cache tag autocomplete results (fixes #3543)

This commit is contained in:
Albert Yi
2018-05-16 16:39:31 -07:00
parent be54741dba
commit 72d72fd3d0
7 changed files with 22 additions and 41 deletions

View File

@@ -27,6 +27,10 @@ class UsersController < ApplicationController
format.xml do
render :xml => @users.to_xml(:root => "users")
end
format.json do
render json: @user.to_json
expires_in 7.days
end
end
end
end