osunyorg/admin

View on GitHub
app/models/communication/block/component/person.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Communication::Block::Component::Person < Communication::Block::Component::Base

  def person
    template.block
            .university
            .people
            .find_by(id: data)
  end

  def dependencies
    [person]
  end

end