# Serves the Vue app for every client-side route (/, /d/). The signed-in # user is embedded so the app knows it before its first render. class SpaController < ApplicationController layout false def show @boot = { user: Current.user&.as_json } end end