lib/trestle/table/row.rb in trestle-0.8.7 vs lib/trestle/table/row.rb in trestle-0.8.8

- old
+ new

@@ -30,10 +30,10 @@ end def options(instance) options = Trestle::Options.new - if table.admin && table.autolink? + if table.admin && table.autolink? && table.admin.actions.include?(:show) options.merge!(data: { url: admin_url_for(instance) }) options.merge!(data: { behavior: "dialog" }) if table.admin.form.dialog? end options.merge!(@row.options)