Guest User

Untitled

a guest
May 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. ## my link
  2.  
  3. <%= link_to 'Edit', edit_user_path(current_user), :class => 'setting', :rel => 'facebox' %>
  4.  
  5. ## Source
  6.  
  7. <a href="/users/1/edit" class="setting" rel="facebox">Account Settings</a>
  8.  
  9. ## Application.js
  10.  
  11. $('a[rel*=facebox]').facebox()
  12.  
  13. ## development.log ( click link with firefox )
  14.  
  15. Processing UsersController#edit (for 127.0.0.1 at 2008-09-11 13:28:24) [GET]
  16. ..
  17. Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"users"}
  18.  
  19.  
  20. ## development.log ( click link with IE )
  21.  
  22. Processing UsersController#1 (for 127.0.0.1 at 2008-09-11 13:23:07) [POST]
  23. ..
  24. Parameters: {"authenticity_token"=>"38c9a24080f923263fffc396e81edb8d2dd9c093", "action"=>"1", "id"=>"edit", "controller"=>"users"}
Add Comment
Please, Sign In to add comment