diff options
author | Andrew Hooker <GeekOnCoffee@gmail.com> | 2012-05-19 21:03:36 -0500 |
---|---|---|
committer | Andrew Hooker <GeekOnCoffee@gmail.com> | 2012-05-19 21:03:36 -0500 |
commit | c72d5d65f689393bbb05f6586519c13258671ef2 (patch) | |
tree | 83c3174580b056de6201ca30325371cf1f0eaabc /app | |
parent | 6fa5bbdf33b681f7c9595a327a39cc99de7bf638 (diff) | |
download | refinerycms-blog-c72d5d65f689393bbb05f6586519c13258671ef2.tar.gz refinerycms-blog-c72d5d65f689393bbb05f6586519c13258671ef2.tar.bz2 refinerycms-blog-c72d5d65f689393bbb05f6586519c13258671ef2.zip |
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 b078272..59e70f1 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 |