def details_link(path, options = {})
      return unless ndr_can?(:read, path)

      link_to_with_icon({ icon: 'share-alt', title: 'Details', path: path }.merge(options))
    end
def details_link(path, options = {})
      return unless ndr_can?(:read, path)

      link_to_with_icon({ icon: 'share-alt', title: 'Details', path: path }.merge(options))
    end
Creates a Boostrap 'Details' link.

 ==== Signatures

   details_link(path, options = {})

 ==== Examples

   <%= details_link('#') %>
   # => <a title="Details" class="btn btn-default btn-xs" href="#">
          <span class="glyphicon glyphicon-share-alt"></span>
        </a>