Eliminate Ternary

This commit is contained in:
Andrew Hooker 2012-05-19 21:03:36 -05:00
parent 6fa5bbdf33
commit c72d5d65f6

View file

@ -49,7 +49,7 @@ module Refinery
end
def friendly_id_source
custom_url.present? ? custom_url : title
custom_url.presence || title
end
class << self