- if can? :edit, resource = link_to th('#edit.button'), [:edit, resource], class: 'btn btn-default'