lib/active_admin/base_controller.rb in activeadmin-2.9.0 vs lib/active_admin/base_controller.rb in activeadmin-2.10.0
- old
+ new
@@ -1,13 +1,13 @@
+# frozen_string_literal: true
require "active_admin/base_controller/authorization"
require "active_admin/base_controller/menu"
module ActiveAdmin
# BaseController for ActiveAdmin.
# It implements ActiveAdmin controllers core features.
class BaseController < ::InheritedResources::Base
helper ::ActiveAdmin::ViewHelpers
- helper_method :env
layout :determine_active_admin_layout
before_action :only_render_implemented_actions
before_action :authenticate_active_admin_user