2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Active Adminで/admin/以下以外のパスに管理ページを配置する方法

Posted at

config/initializers/active_admin.rb に以下の様な記述をすればできます。
(2014年2月3日現在、masterブランチの)ドキュメントに書かれてはいませんが、生成された config/initializers/active_admin.rb のコメントに書かれています。

例1: /super_admin/ 以下に配置したい場合

config.default_namespace = :super_admin

例2: / 以下に配置したい場合

config.default_namespace = false
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?