fatfreecrm/fat_free_crm

View on GitHub
app/views/accounts/_account.html.haml

Summary

Maintainability
Test Coverage
- if (controller.controller_name == 'accounts') and (template = template_for_current_view).present?
  = render(template, account: account)
- else
  -# default view
  = render 'accounts/index_brief', account: account