neodcalgary
neodcalgary
Thanks for your quick response. Yes, seems we are using `module V1 class BaseApiController < ApplicationController include DeviseTokenAuth::Concerns::SetUserByToken then other controllers using the following class TestController < BaseApiController `
Here it is, but I don't know if that's the issue: ``` module V1 class BaseApiController < ApplicationController include DeviseTokenAuth::Concerns::SetUserByToken before_action :establish_resource, only: %I[destroy show update] respond_to :json def create...
Update: As long as comment it out "layout :layout" in exception_controller.rb file, the error message will use the locales/en.yml message instead and there will be no "Undefined method `layout'" controller...