Skip to content

rails_admin_controller? method removed #2268

@sbull

Description

@sbull

The fix for #2023 apparently removed the rails_admin_controller? method. I didn't see an explanation for this. It was added back in #351.

Was there a reason for this? It broke my upgrade from 0.6.6 to 0.6.7.

FWIW, I've had this method in my ApplicationController, which I'll implement differently now:

  def is_rails_admin_controller?
    respond_to?(:rails_admin_controller?, true) && rails_admin_controller?
  end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions