diff options
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 2e76612f5..6dfe95cc4 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -272,6 +272,10 @@ class Project < ActiveRecord::Base end end + def self.find_by_param(*args) + self.find(*args) + end + def reload(*args) @shared_versions = nil @rolled_up_versions = nil |