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.10.0 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.9.0 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.8.5 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.8.4 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.8.3 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.8.2 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.8.1 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.8.0 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.23 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.22 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.21 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.20 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.19 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.18 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.17 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.16 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.15 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.14 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.13 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb
bullet_train-outgoing_webhooks-1.7.12 app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb