Refs #2603 Show 'See Results' button in admin panel
This commit is contained in:
@@ -159,6 +159,10 @@ class Budget < ActiveRecord::Base
|
||||
end
|
||||
end
|
||||
|
||||
def has_winning_investments?
|
||||
investments.winners.any?
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def sanitize_descriptions
|
||||
|
||||
Reference in New Issue
Block a user