Skip to content

Commit

Permalink
Merge branch 'hotfix/0.4.2_fix.2'
Browse files Browse the repository at this point in the history
* hotfix/0.4.2_fix.2:
  fix profile avatar for questionary
  • Loading branch information
kalashnikovisme committed Sep 17, 2015
2 parents 107ba36 + 12fb66b commit c96de59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/decorators/questionary_decorator.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
class QuestionaryDecorator < MemberDecorator
delegate_all

def profile_avatar
object.on_the_trial? ? avatar.profile : default_avatar
end
end

0 comments on commit c96de59

Please sign in to comment.