diff --git a/config/routes.rb b/config/routes.rb index ebdc12a..d65b48c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,8 @@ Rails.application.routes.draw do root 'application#welcome' + get 'application/spa' + resources :transgressions, only: [:index, :create], defaults: { format: :json } do resources :confessions, only: [:create], shallow: true end