Sha256: 1294a7af089cf378418742457ba05d701acfd3fedff2b2ad3c8ed4443131d460
Contents?: true
Size: 410 Bytes
Versions: 10
Compression:
Stored size: 410 Bytes
Contents
h1 Listing cities = authz_link_to 'Create New City', new_city_path, {class: 'button'}, skip_scoping: true table thead tr th Name th th tbody - @cities.each do |city| tr td = city.name td = authz_link_to 'Edit', edit_city_path(city), using: city td = authz_link_to 'Destroy', city, {data: { confirm: 'Are you sure?' }, method: :delete}, using: city
Version data entries
10 entries across 10 versions & 1 rubygems