share/views/entity_partials/action_controller.haml in rbbt-rest-1.8.96 vs share/views/entity_partials/action_controller.haml in rbbt-rest-1.8.97
- old
+ new
@@ -21,10 +21,10 @@
%i.icon.bookmark
.ui.buttons.action_menu
- last_resource = nil
- controller.actions.each do |action, text, resource, params|
- //.ui.item.button(class="#{last_resource and last_resource != resource ? "new_resource" : ""}" attr-resource="#{resource}")
+ -#.ui.item.button(class="#{last_resource and last_resource != resource ? "new_resource" : ""}" attr-resource="#{resource}")
- case
- when AnnotatedArray === entity
- id = params.delete :id if Hash === params
- id = controller.id if id.nil?
= entity.list_action_link action, text, id, params.merge(:reuse => true, :class => 'ui item button')