lib/generators/admin/scaffold/templates/controller.rb.tt in administration-zero-0.0.12 vs lib/generators/admin/scaffold/templates/controller.rb.tt in administration-zero-0.0.13
- old
+ new
@@ -1,5 +1,5 @@
-class <%= controller_class_name %>Controller < Admin::ApplicationController
+class <%= controller_class_name %>Controller < Admin::BaseController
before_action :set_<%= singular_table_name %>, only: %i[ show edit update destroy ]
def index
@search = <%= orm_class.all(class_name) %>.ransack(params[:q])