Skip to content

Commit

Permalink
Minorly updated syntax to make use of string interpolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Jul 26, 2011
1 parent 39df9b6 commit 6209aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/app/models/refinery/setting.rb
Expand Up @@ -142,7 +142,7 @@ def set(name, value)
# site_name becomes Site Name
def title
result = name.to_s.titleize
result += ' (' + scoping.titleize + ')' if scoping.is_a?(String)
result << " (#{scoping.titleize})" if scoping.is_a?(String)
result
end

Expand Down

0 comments on commit 6209aab

Please sign in to comment.