diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 7f346bf..98739a6 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -375,9 +375,3 @@ class Date (date.year - self.year)*52 + (date.cweek - self.cweek) end end - -class String - def with_leading_slash - starts_with?('/') ? self : "/#{self}" - end -end