Skip to content

Commit

Permalink
not answers, questions
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalronin committed Mar 7, 2009
1 parent 6107b85 commit 311bc13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/cloud.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Cloud

def initialize(params)
@mp = params[:mp]
@title = "#{@mp.full_name} Written Answers"
@title = "#{@mp.full_name} Written Questions"
@words = count_words
end

Expand Down
2 changes: 1 addition & 1 deletion app/models/mp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def self.from_person_id(person_id)

def self.instantiate(obj)
mp = Mp.new
mp.full_name = obj.full_name.blank? ? obj.name : obj.full_name
mp.full_name = obj.respond_to?(:full_name) ? obj.full_name : obj.name
mp.person_id = obj.person_id
mp.party = obj.party
mp.constituency = obj.constituency.name
Expand Down

0 comments on commit 311bc13

Please sign in to comment.