Merge pull request #237 from GeekOnCoffee/eliminate_ternary

Eliminate Ternary
This commit is contained in:
Philip Arndt 2012-05-19 19:37:59 -07:00
commit 0bb265521c

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