Rails.application.routes.draw do resources :count, except: [:show] get "profile", to: "profile#edit" post "profile/update_email", to: "profile#update_email" post "profile/update_password", to: "profile#update_password" root "home#index" devise_for :users, controllers: { sessions: 'users/sessions', registrations: 'users/registrations' } end