lib/active_admin/base_controller.rb in activeadmin-1.0.0 vs lib/active_admin/base_controller.rb in activeadmin-1.1.0

- old
+ new

@@ -27,12 +27,12 @@ # to check if they are implemented. def only_render_implemented_actions raise AbstractController::ActionNotFound unless action_methods.include?(params[:action]) end - include Menu include Authorization + include Menu private # Calls the authentication method as defined in ActiveAdmin.authentication_method def authenticate_active_admin_user @@ -56,10 +56,9 @@ def active_admin_namespace active_admin_config.namespace end helper_method :active_admin_namespace - ACTIVE_ADMIN_ACTIONS = [:index, :show, :new, :create, :edit, :update, :destroy] # Determine which layout to use. #