routes: remove legacy /user/index and /artist/index API endpoints.
These endpoints get zero traffic.
This commit is contained in:
@@ -17,18 +17,10 @@ class LegacyController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def users
|
||||
@users = User.limit(100).search(params).paginate(params[:page])
|
||||
end
|
||||
|
||||
def tags
|
||||
@tags = Tag.limit(100).search(params).paginate(params[:page], :limit => params[:limit])
|
||||
end
|
||||
|
||||
def artists
|
||||
@artists = Artist.limit(100).search(search_params).paginate(params[:page])
|
||||
end
|
||||
|
||||
def unavailable
|
||||
render :plain => "this resource is no longer available", :status => 410
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user