Sha256: 13c4e1cb7bf0b6ab4589042490a6f96e0ec0d9b2aaa063dc1b41b396101da6f9
Contents?: true
Size: 279 Bytes
Versions: 13
Compression:
Stored size: 279 Bytes
Contents
<% if resource.respond_to? :state_events %> <% resource.state_events.select{|event| can? event, resource }.each do |event| %> <li> <%= link_to t("#{type}.show.events.#{event}"), eval("#{event}_#{type.singularize}_path(resource)"), method: :put %> </li> <% end %> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems