Improve #470 fix.

This commit is contained in:
bootstraponline
2012-08-15 12:03:48 -06:00
parent 523f8f80ca
commit 2d13bd796f
2 changed files with 10 additions and 2 deletions
+1 -2
View File
@@ -6,8 +6,7 @@ module Precious
attr_reader :results, :ref
def prefix
return '/' if @base_url.nil?
@base_url.chomp('/').empty? ? '/' : @base_url + '/'
@base_url ? @base_url.chomp('/') + '/' : '/'
end
def title