From 9d0d15b8143a694389cc780eed8b6afad13717e0 Mon Sep 17 00:00:00 2001 From: Jeremy Ward Date: Thu, 2 Jan 2014 19:02:36 -0800 Subject: [PATCH] Updated documentation to use 1.9 hash syntax. --- lib/devise/rails/routes.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/devise/rails/routes.rb b/lib/devise/rails/routes.rb index 3f8d7f26..8ffb9713 100644 --- a/lib/devise/rails/routes.rb +++ b/lib/devise/rails/routes.rb @@ -102,9 +102,9 @@ module ActionDispatch::Routing # * :path_names => configure different path names to overwrite defaults :sign_in, :sign_out, :sign_up, # :password, :confirmation, :unlock. # - # devise_for :users, :path_names => { - # :sign_in => 'login', :sign_out => 'logout', - # :password => 'secret', :confirmation => 'verification', + # devise_for :users, path_names: { + # sign_in: 'login', sign_out: 'logout', + # password: 'secret', confirmation: 'verification', # registration: 'register', edit: 'edit/profile' # } #