Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 5 resources :users
- 6 devise_for :users, :path => "", :path_names => { :sign_in => 'login', :sign_out
- => 'logout', :password => 'secret', :confirmation => 'verification', :unlock =>
- 'unblock', :registration => 'register', :sign_up => 'cmon_let_me_in' }
- = link_to 'sign_out', destroy_user_session_path, :method => :delete
- <%= link_to "Sign Out", destroy_user_session_path %>
- <%= link_to "sign out", destroy_user_session_path, method: :delete %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement