Sha256: 90b9564bba65906e7f9b0c516925de5cee1e3e93ea41f2455f774d20ae277a0a
Contents?: true
Size: 761 Bytes
Versions: 75
Compression:
Stored size: 761 Bytes
Contents
<% yield p = np %> <% p.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 p.account_controller_name_with_namespace == only_for %> <% label = if action_name == 'edit' ot("#{p.account_controller_name_with_namespace}.breadcrumbs.edit") || t('breadcrumbs.actions.edit') elsif action_name == 'new' ot("#{p.account_controller_name_with_namespace}.breadcrumbs.new") || t('breadcrumbs.actions.new') end %> <%= render 'account/shared/breadcrumb', label: label if label %> <% end %>
Version data entries
75 entries across 75 versions & 5 rubygems