bsc-networks/workshift-website

View on GitHub
app/views/units/show.html.haml

Summary

Maintainability
Test Coverage
%p#notice= notice

= render 'show'

- if policy(:unit).edit?
  .row
    .column.small-12
      = link_to 'Edit', edit_unit_path(@unit)
      \|
      = link_to 'Back', units_path