Sha256: 9b5602ab3d1863066c1d7636560349b2232c3a9b9f1a9f9430d34a2bf536deb8

Contents?: true

Size: 555 Bytes

Versions: 118

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

118 entries across 118 versions & 1 rubygems

Version Path
bullet_train-outgoing_webhooks-1.3.6 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.3.5 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.3.4 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.3.3 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.3.2 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.3.1 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.3.0 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.2.24.4 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.2.24.3 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.2.24.2 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.2.24.1 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.2.27 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.2.26 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.2.25 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.2.24 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.2.23 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.2.22 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.2.21 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb