Method: Organization#page_name
- Defined in:
- app/models/organization.rb
#page_name ⇒ Object
Since an organization has a single book, both concepts may be merged when describing a site. In such contexts, wins_page? control whether the book or the organization header fields are more important
177 178 179 |
# File 'app/models/organization.rb', line 177 def page_name wins_page? ? display_name : book.name end |