I create controller in app/controllers/v1/white_label_api
class Api::WhiteLabel::V1::BaseController < ApplicationController
end
and in other controllers I do
class Api::WhiteLabel::V1::CarMakeController < BaseController
But it gives an error uninitialized constant BaseController
Aucun commentaire:
Enregistrer un commentaire