osunyorg/admin

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

Summary

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

  def organization
    template.block
            .university
            .organizations
            .find_by(id: data)
  end

  def dependencies
    [organization]
  end

end