Sha256: 8790f6af118ebf9755159ad7d01259bd5c6c6cc552ec6a6291231141e49a5258

Contents?: true

Size: 443 Bytes

Versions: 23

Compression:

Stored size: 443 Bytes

Contents

%h1 Users index
.buttons
  = link_to("New user", new_user_path) if guest_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 guest_can?(:read, user)
      %td
        = link_to("Edit", edit_user_path(user)) if guest_can?(:edit, user)
      %td
        = link_to("Delete", delete_user_path(user)) if guest_can?(:delete, user)

Version data entries

23 entries across 22 versions & 1 rubygems

Version Path
cantango-0.9.4.7 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.9.4.6 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.9.4.5 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.9.4.3 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.9.4.2 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.9.4.1 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.9.4 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.9.3.2 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.9.5 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.9.4 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.9.3 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.9.2 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.9.1 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.9 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.8.1 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.8 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.7 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.6.2 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.6.1 spec/devise-dummy/app/views/users/guest.html.haml
cantango-0.8.6 spec/devise-dummy/app/views/users/guest.html.haml