Sha256: e7c8e9cc4396c30528c8ba79b686fce574790d264da1dbf4c2fadb983ba9c213

Contents?: true

Size: 449 Bytes

Versions: 4

Compression:

Stored size: 449 Bytes

Contents

<% content_for :toolbar do %>
  <%= render 'toolbar', resource_class: resource_class,
                        resource: @detail.record,
                        parent: current_parent do %>
    <%=
      render partial: 'toolbar_actions', locals: {
        actions: @detail.actions.record_actions.permitted_for(policy(@detail.record)),
        resource: @detail.record
      }
    %>
  <% end %>
<% end %>

<%= render "resource", details: @detail %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plutonium-0.6.2 app/views/resource/show.html.erb
plutonium-0.6.1 app/views/resource/show.html.erb
plutonium-0.6.0 app/views/resource/show.html.erb
plutonium-0.5.0 app/views/resource/show.html.erb