Fases 7 e 8 — PDFs Prawn + QR + Painel Motorista + Notificações
This commit is contained in:
@@ -14,7 +14,12 @@ Rails.application.routes.draw do
|
||||
get '/dashboard', to: 'dashboard#index', as: :dashboard
|
||||
|
||||
# Painel motorista
|
||||
get '/motorista', to: 'motorista/dashboard#index', as: :motorista_dashboard
|
||||
get '/motorista', to: 'motorista/dashboard#index', as: :motorista_dashboard
|
||||
|
||||
# Login motorista — PIN de 4 dígitos + acesso via QR Code do holerite
|
||||
get '/motorista/login', to: 'motorista/sessoes#new', as: :motorista_login
|
||||
post '/motorista/login', to: 'motorista/sessoes#create'
|
||||
get '/motorista/acesso/:token', to: 'motorista/sessoes#acesso_qr', as: :motorista_acesso_qr
|
||||
|
||||
# Consolidações
|
||||
resources :consolidacoes do
|
||||
|
||||
Reference in New Issue
Block a user