2015-12-28 23:15:59 -08:00

7 lines
336 B
Plaintext

- if policy(@table).update?
.owner-controls
= link_to 'Edit', edit_table_path(@table)
= link_to 'Destroy', game, :method => :delete, :data => { :confirm => 'Are you sure?' }
#table-component-container-container= react_component 'Table', props = {url: "#{table_path @table}"}, html_options = {id: "table-component-container"}