Have single result searches go to the show pages for certain controllers #4204

This commit is contained in:
evazion
2019-11-04 14:24:10 -06:00
parent 953de62d70
commit 6e5e07022d
6 changed files with 25 additions and 14 deletions

View File

@@ -4,6 +4,7 @@ class Artist < ApplicationRecord
attr_accessor :url_string_changed
array_attribute :other_names
api_attributes including: [:urls]
before_validation :normalize_name
before_validation :normalize_other_names