Skip to content

Instantly share code, notes, and snippets.

@RailsCod3rFuture
RailsCod3rFuture / routes.rb
Last active June 11, 2021 08:40
Failing User Profile Controller, Routes and Partial Form
Rails.application.routes.draw do
devise_for :admins
devise_for :users
namespace :api do
scope :v1 do
mount_devise_token_auth_for 'User', at: 'user_auth'
end
end