GeoRSS aggregator and Layar augmented reality server
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

24 行
425 B

  1. %h1 Listing users
  2. %table
  3. %tr
  4. %th Email
  5. %th Crypted password
  6. %th Salt
  7. %th
  8. %th
  9. %th
  10. - @users.each do |user|
  11. %tr
  12. %td= user.email
  13. %td= user.crypted_password
  14. %td= user.salt
  15. %td= link_to 'Show', user
  16. %td= link_to 'Edit', edit_user_path(user)
  17. %td= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete
  18. %br
  19. = link_to 'New User', new_user_path