jamesdabbs/pi-base

View on GitHub
app/views/theorems/index.html.slim

Summary

Maintainability
Test Coverage
h3
  | #{Theorem.count} Theorems 
  - if can? :create, Theorem
    = link_to 'New', new_theorem_path, class: 'btn btn-mini btn-default'

= render 'application/definitions', list: @theorems