Sha256: d95a399ede23fcaa7c518a2e667db92d34e0ff8b3a90987dc7f6544f5b8d45b5
Contents?: true
Size: 453 Bytes
Versions: 42
Compression:
Stored size: 453 Bytes
Contents
%h1 Users index .buttons = link_to("New user", new_user_path) if user_can?(:create, User) %table %th %td View %td Edit %td Delete - users.each do |user| %tr %td = link_to(user.title, user_path(user)) if user_can?(:read, user) %td = link_to("Edit", edit_user_path(user)) if user_can?(:edit, user) %td = link_to("Delete", user_path(user), :method => 'delete') if user_can?(:delete, user)
Version data entries
42 entries across 21 versions & 1 rubygems