app/controllers/apicasso/crud_controller.rb in apicasso-0.1.0 vs app/controllers/apicasso/crud_controller.rb in apicasso-0.1.1

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true module Apicasso # Controller to consume read-only data to be used on client's frontend - class CrudController < ApplicationController + class CrudController < Apicasso::ApplicationController before_action :set_root_resource before_action :set_object, except: %i[index schema create] before_action :set_nested_resource, only: %i[nested_index] before_action :set_records, only: %i[index nested_index] before_action :set_schema, only: %i[schema]