Remove unnecessary #to_s in controller

This commit is contained in:
Sebastian Serth
2023-11-23 01:10:10 +01:00
committed by Sebastian Serth
parent ee351198f5
commit 3048cf2644

View File

@ -48,8 +48,4 @@ class TagsController < ApplicationController
def destroy
destroy_and_respond(object: @tag)
end
def to_s
name
end
end