Skip to content

Commit 96dbe32

Browse files
committed
Deref the Opportunity class
1 parent 04590ce commit 96dbe32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/protips_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def find_a_job_for(protips)
532532
return Opportunity.random.first unless protips.present?
533533
534534
topics = get_topics_from_protips(protips)
535-
@job = Opportunity.based_on(topics).to_a.sample || Opportunity.random.first
535+
@job = ::Opportunity.based_on(topics).to_a.sample || Opportunity.random.first
536536
end
537537
538538
def top_tags_facet

0 commit comments

Comments
 (0)