Sha256: c165ab150a61c7b494b80771270cb77dde358726571255173037ec9f846be6cb
Contents?: true
Size: 765 Bytes
Versions: 122
Compression:
Stored size: 765 Bytes
Contents
<% partial.helpers do def account_controller_name_with_namespace params[:controller].gsub(/^account\//, '') end end %> <% # don't add controller-specific actions in this file. instead, include them right below where this partial is # included. see `app/views/account/teams/_breadcrumbs.html.erb` for an example. %> <% if partial.account_controller_name_with_namespace == only_for %> <% label = if action_name == 'edit' ot("#{partial.account_controller_name_with_namespace}.breadcrumbs.edit") || t('breadcrumbs.actions.edit') elsif action_name == 'new' ot("#{partial.account_controller_name_with_namespace}.breadcrumbs.new") || t('breadcrumbs.actions.new') end %> <%= render 'account/shared/breadcrumb', label: label if label %> <% end %>
Version data entries
122 entries across 122 versions & 1 rubygems