Changed and added additional routes to specific view functions in PageController
This commit is contained in:
		@@ -17,7 +17,20 @@ defmodule SukaatoWeb.Router do
 | 
			
		||||
  scope "/", SukaatoWeb do
 | 
			
		||||
    pipe_through :browser
 | 
			
		||||
 | 
			
		||||
    get "/", PageController, :home
 | 
			
		||||
    get "/", PageController, :index
 | 
			
		||||
    get "/pubkey", PageController, :pubkey
 | 
			
		||||
    get "/pubkey/:user", PageController, :pubkey
 | 
			
		||||
    get "/pubkey/:user/:id", PageController, :pubkey
 | 
			
		||||
    get "/thinkers", PageController, :think
 | 
			
		||||
    get "/thinkers/:user", PageController, :think
 | 
			
		||||
    get "/contact", PageController, :contact
 | 
			
		||||
    get "/contact/:user", PageController, :contact
 | 
			
		||||
    # get "/register", PageController, :registration
 | 
			
		||||
    # post "/register", PageController, :registration
 | 
			
		||||
    get "/login", PageController, :login
 | 
			
		||||
    post "/login", PageController, :login
 | 
			
		||||
    get "/second_factor", PageController, :two_fa
 | 
			
		||||
    post "/second_factor", PageController, :two_fa
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  # Other scopes may use custom stacks.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user