Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## my link
- <%= link_to 'Edit', edit_user_path(current_user), :class => 'setting', :rel => 'facebox' %>
- ## Source
- <a href="/users/1/edit" class="setting" rel="facebox">Account Settings</a>
- ## Application.js
- $('a[rel*=facebox]').facebox()
- ## development.log ( click link with firefox )
- Processing UsersController#edit (for 127.0.0.1 at 2008-09-11 13:28:24) [GET]
- ..
- Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"users"}
- ## development.log ( click link with IE )
- Processing UsersController#1 (for 127.0.0.1 at 2008-09-11 13:23:07) [POST]
- ..
- Parameters: {"authenticity_token"=>"38c9a24080f923263fffc396e81edb8d2dd9c093", "action"=>"1", "id"=>"edit", "controller"=>"users"}
Add Comment
Please, Sign In to add comment