lib/nexmo_developer/app/controllers/static_controller.rb in station-0.3.1 vs lib/nexmo_developer/app/controllers/static_controller.rb in station-0.3.2
- old
+ new
@@ -34,9 +34,15 @@
end
end
if request.path.delete('/') == 'team'
@team ||= LoadConfig.load_file('config/team.yml')
+
+ @team['current'].each do |member|
+ author = Blog::Author.new(AuthorParser.fetch_author(member['short-name']))
+ member['image_url'] = author.build_avatar_url
+ end
+
@careers = Greenhouse.devrel_careers
end
if request.path.sub!('/', '') == 'migrate/tropo/sms'
migrate_tropo