diff --git a/app/controllers/artist_urls_controller.rb b/app/controllers/artist_urls_controller.rb index 56bbec746..0c7ec5a8a 100644 --- a/app/controllers/artist_urls_controller.rb +++ b/app/controllers/artist_urls_controller.rb @@ -1,6 +1,5 @@ class ArtistUrlsController < ApplicationController respond_to :js, :json, :xml, :html - before_action :member_only, except: [:index] def index @artist_urls = ArtistUrl.paginated_search(params) @@ -8,18 +7,4 @@ class ArtistUrlsController < ApplicationController respond_with(@artist_urls) end - - def update - @artist_url = ArtistUrl.find(params[:id]) - @artist_url.update(artist_url_params) - respond_with(@artist_url) - end - - private - - def artist_url_params - permitted_params = %i[is_active] - - params.fetch(:artist_url, {}).permit(permitted_params) - end end diff --git a/app/views/related_tags/_source_tags.html.erb b/app/views/related_tags/_source_tags.html.erb index 752a13679..cdc307b9a 100644 --- a/app/views/related_tags/_source_tags.html.erb +++ b/app/views/related_tags/_source_tags.html.erb @@ -20,7 +20,6 @@