diff options
author | Philip Arndt <parndt@gmail.com> | 2012-05-19 19:37:59 -0700 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-05-19 19:37:59 -0700 |
commit | 0bb265521c5c70ad1ac378e9d7854902a0c4200d (patch) | |
tree | 73e0626e2ca9a057b6aa53a2576e11aa84467039 /app | |
parent | f4b647cc93fa0a498773a3f3146bf5f5bd017162 (diff) | |
parent | c72d5d65f689393bbb05f6586519c13258671ef2 (diff) | |
download | refinerycms-blog-0bb265521c5c70ad1ac378e9d7854902a0c4200d.tar.gz refinerycms-blog-0bb265521c5c70ad1ac378e9d7854902a0c4200d.tar.bz2 refinerycms-blog-0bb265521c5c70ad1ac378e9d7854902a0c4200d.zip |
Merge pull request #237 from GeekOnCoffee/eliminate_ternary
Eliminate Ternary
Diffstat (limited to 'app')
-rw-r--r-- | app/models/refinery/blog/post.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/refinery/blog/post.rb b/app/models/refinery/blog/post.rb index 6a2d7c2..c32b775 100644 --- a/app/models/refinery/blog/post.rb +++ b/app/models/refinery/blog/post.rb @@ -49,7 +49,7 @@ module Refinery end def friendly_id_source - custom_url.present? ? custom_url : title + custom_url.presence || title end class << self |