lundi 26 mars 2018

ActionController::RoutingError (uninitialized constant BaseController)

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