Upgrade to stringex 1.5

This commit is contained in:
bootstraponline
2012-11-29 16:50:52 -07:00
parent 06e72a5a60
commit 10fa5c7bd2
3 changed files with 25 additions and 3 deletions
+1 -2
View File
@@ -18,8 +18,7 @@ class String
# _Header => header which causes errors
def to_url
return nil if self.nil?
return self if ['_Header', '_Footer', '_Sidebar'].include? self
upstream_to_url
upstream_to_url :exclude => ['_Header', '_Footer', '_Sidebar']
end
end