Sha256: 5ead62a923d3d33e11e53d775df43e495788e1681908143ddd331b4c67473c6c
Contents?: true
Size: 475 Bytes
Versions: 23
Compression:
Stored size: 475 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", delete_user_path(user)) if admin_account_can?(:delete, user)
Version data entries
23 entries across 22 versions & 1 rubygems