Customizing devise views and controllers
This commit is contained in:
		@@ -2,7 +2,11 @@ Rails.application.routes.draw do
 | 
			
		||||
  get '.well-known/host-meta', to: 'xrd#host_meta', as: :host_meta
 | 
			
		||||
  get '.well-known/webfinger', to: 'xrd#webfinger', as: :webfinger
 | 
			
		||||
 | 
			
		||||
  devise_for :users, path: 'auth'
 | 
			
		||||
  devise_for :users, path: 'auth', controllers: {
 | 
			
		||||
    sessions:           'auth/sessions',
 | 
			
		||||
    registrations:      'auth/registrations',
 | 
			
		||||
    passwords:          'auth/passwords'
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  resources :accounts, path: 'users', only: [:show], param: :username do
 | 
			
		||||
    resources :stream_entries, path: 'updates', only: [:show]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user