Sha256: 236740f9365647d6e4593579be1089165e3fa473e26d1242aaa4a2fbda48aa54
Contents?: true
Size: 440 Bytes
Versions: 18
Compression:
Stored size: 440 Bytes
Contents
- route_builder = @context&.route_builder || datatable.class::ROUTE_BUILDER = dropdown(variation: :dropleft, btn_class: btn_class) do - authorized_resource_actions(route_builder, resource, for_action: action_name).select{ |x| x.show_in_datatable }.each do |a| - path = a.path_helper.is_a?(Proc) ? a.path_helper.call(resource) : send(a.path_helper, resource.id) = dropdown_link_to resource_form_action_label(resource, a.sym), path
Version data entries
18 entries across 18 versions & 1 rubygems