Sha256: 9b5602ab3d1863066c1d7636560349b2232c3a9b9f1a9f9430d34a2bf536deb8

Contents?: true

Size: 555 Bytes

Versions: 119

Compression:

Stored size: 555 Bytes

Contents

<% if can? :read, Webhooks::Outgoing::Endpoint.new(BulletTrain::OutgoingWebhooks.parent_association => send(BulletTrain::OutgoingWebhooks.current_parent_method)) %>
  <%= render 'account/shared/menu/item', {
    url: main_app.polymorphic_path([:account, send(BulletTrain::OutgoingWebhooks.current_parent_method), :webhooks_outgoing_endpoints]),
    label: t('webhooks/outgoing/endpoints.navigation.label'),
  } do |p| %>
    <% p.icon do %>
      <i class="<%= t('webhooks/outgoing/endpoints.navigation.icon') %>"></i>
    <% end %>
  <% end %>
<% end %>

Version data entries

119 entries across 119 versions & 1 rubygems

Version Path
bullet_train-outgoing_webhooks-1.6.6 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.6.5 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.6.4 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.6.3 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.6.2 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.6.1 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.6.0 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.5.2 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.5.1 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.5.0 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.4.11 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.4.10 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.4.9 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.4.8 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.4.7 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.4.6 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.4.5 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.4.4 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.4.3 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.4.2 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb