Remove unnecessary #to_s in controller
This commit is contained in:

committed by
Sebastian Serth

parent
ee351198f5
commit
3048cf2644
@ -48,8 +48,4 @@ class TagsController < ApplicationController
|
|||||||
def destroy
|
def destroy
|
||||||
destroy_and_respond(object: @tag)
|
destroy_and_respond(object: @tag)
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_s
|
|
||||||
name
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user