diff --git a/app/controllers/artists_controller.rb b/app/controllers/artists_controller.rb index 4ab9a897c..2512ef962 100644 --- a/app/controllers/artists_controller.rb +++ b/app/controllers/artists_controller.rb @@ -88,7 +88,7 @@ class ArtistsController < ApplicationController raise User::PrivilegeError end @artist.update_attribute(:is_active, false) - respond_with(@artist, :notice => "Artist deleted") + redirect_to(artist_path(@artist), :notice => "Artist deleted") end def undelete @@ -97,7 +97,7 @@ class ArtistsController < ApplicationController raise User::PrivilegeError end @artist.update_attribute(:is_active, true) - respond_with(@artist, :notice => "Artist undeleted") + redirect_to(artist_path(@artist), :notice => "Artist undeleted") end def revert