Sha256: 48486d78ca1b6a211ccc3ca5675a50e4dcccbf5c4bf1b0d897278423b3415367
Contents?: true
Size: 489 Bytes
Versions: 21
Compression:
Stored size: 489 Bytes
Contents
%h1 Users index .buttons = link_to("New user", new_user_path) if admin_account_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 admin_account_can?(:read, user) %td = link_to("Edit", edit_user_path(user)) if admin_account_can?(:edit, user) %td = link_to("Delete", user_path(user), :method => 'delete') if admin_account_can?(:delete, user)
Version data entries
21 entries across 21 versions & 1 rubygems